private function createQueryFrom(array $queryParts = [])
	{
		$rsm = new ResultSetMapping();

		return $this->entityManager->createNativeQuery(implode(' ', $queryParts), $rsm);
	}
private function createQueryFrom(array $queryParts = [])
	{
		$rsm = new ResultSetMapping();

		return $this->entityManager->createNativeQuery(implode(' ', $queryParts), $rsm);
	}
private function createQueryFrom ( array $ queryParts = [ ] ) { $ rsm = new ResultSetMapping ( ) ; return $ this -> entityManager -> createNativeQuery ( implode ( ' ' , $ queryParts ) , $ rsm ) ; }
Creates a new Doctrine native query based on the query parts array.

@param array $queryParts
@return mixed
Creates a new Doctrine native query based on the query parts array .