Property | Type | Description | |
---|---|---|---|
$connection | Nextras\Dbal\Connection | ||
$distinct | boolean | ||
$fetchIterator | Iterator | ||
$parser | |||
$queryBuilder | Nextras\Dbal\QueryBuilder\QueryBuilder | ||
$relationshipMapper | Nextras\Orm\Mapper\IRelationshipMapper | ||
$relationshipParent | Nextras\Orm\Entity\IEntity | ||
$repository | Nextras\Orm\Repository\IRepository | ||
$result | array | null | ||
$resultCount | integer |
Method | Description | |
---|---|---|
__call ( $name, $args ) | ||
__clone ( ) | ||
__construct ( Nextras\Orm\Repository\IRepository $repository, Nextras\Dbal\Connection $connection, Nextras\Dbal\QueryBuilder\QueryBuilder $queryBuilder ) | ||
count ( ) | ||
countStored ( ) | ||
fetch ( ) | ||
fetchAll ( ) | ||
fetchPairs ( $key = null, $value = null ) | ||
findBy ( array $where ) | ||
getBy ( array $where ) | ||
getEntityCount ( Nextras\Orm\Entity\IEntity $parent = null ) | ||
getEntityIterator ( Nextras\Orm\Entity\IEntity $parent = null ) | ||
getIterator ( ) | ||
getQueryBuilder ( ) : Nextras\Dbal\QueryBuilder\QueryBuilder | ||
getRelationshipMapper ( ) | ||
limitBy ( $limit, $offset = null ) | ||
orderBy ( $column, $direction = ICollection::ASC ) | ||
resetOrderBy ( ) | ||
setRelationshipMapping ( Nextras\Orm\Mapper\IRelationshipMapper $mapper = null, Nextras\Orm\Entity\IEntity $parent = null ) | ||
toCollection ( $resetOrderBy = false ) |
Method | Description | |
---|---|---|
execute ( ) | ||
getIteratorCount ( ) | ||
getParser ( ) |
public __construct ( Nextras\Orm\Repository\IRepository $repository, Nextras\Dbal\Connection $connection, Nextras\Dbal\QueryBuilder\QueryBuilder $queryBuilder ) | ||
$repository | Nextras\Orm\Repository\IRepository | |
$connection | Nextras\Dbal\Connection | |
$queryBuilder | Nextras\Dbal\QueryBuilder\QueryBuilder |
public getEntityCount ( Nextras\Orm\Entity\IEntity $parent = null ) | ||
$parent | Nextras\Orm\Entity\IEntity |
public getEntityIterator ( Nextras\Orm\Entity\IEntity $parent = null ) | ||
$parent | Nextras\Orm\Entity\IEntity |
public getQueryBuilder ( ) : Nextras\Dbal\QueryBuilder\QueryBuilder | ||
return | Nextras\Dbal\QueryBuilder\QueryBuilder |
public setRelationshipMapping ( Nextras\Orm\Mapper\IRelationshipMapper $mapper = null, Nextras\Orm\Entity\IEntity $parent = null ) | ||
$mapper | Nextras\Orm\Mapper\IRelationshipMapper | |
$parent | Nextras\Orm\Entity\IEntity |
protected Connection,Nextras\Dbal $connection | ||
return | Nextras\Dbal\Connection |
protected QueryBuilderHelper,Nextras\Orm\Mapper\Dbal $parser | ||
return |
protected QueryBuilder,Nextras\Dbal\QueryBuilder $queryBuilder | ||
return | Nextras\Dbal\QueryBuilder\QueryBuilder |
protected IRelationshipMapper,Nextras\Orm\Mapper $relationshipMapper | ||
return | Nextras\Orm\Mapper\IRelationshipMapper |
protected IEntity,Nextras\Orm\Entity $relationshipParent | ||
return | Nextras\Orm\Entity\IEntity |
protected IRepository,Nextras\Orm\Repository $repository | ||
return | Nextras\Orm\Repository\IRepository |