Property | Type | Description | |
---|---|---|---|
$cache | |||
$connection | Nextras\Dbal\Connection |
Method | Description | |
---|---|---|
__construct ( Nextras\Dbal\Connection $connection, |
||
beginTransaction ( ) | == Transactions API ============================================================================================= | |
builder ( ) : Nextras\Dbal\QueryBuilder\QueryBuilder | ||
createCollectionManyHasMany ( Nextras\Orm\Mapper\IMapper $mapperTwo, |
||
createCollectionManyHasOne ( |
== Relationship mappers ========================================================================================= | |
createCollectionOneHasMany ( |
||
createCollectionOneHasOne ( |
||
findAll ( ) | ||
flush ( ) | ||
getAutoupdateReselectExpression ( ) | ||
getManyHasManyParameters ( |
||
getStorageReflection ( ) : Nextras\Orm\Mapper\Dbal\StorageReflection\IStorageReflection | ||
persist ( Nextras\Orm\Entity\IEntity $entity ) | == Persistence API ============================================================================================== | |
remove ( Nextras\Orm\Entity\IEntity $entity ) | ||
rollback ( ) | ||
toCollection ( $data ) |
Method | Description | |
---|---|---|
createRelationshipMapper ( $type, |
||
createStorageReflection ( ) | ||
entityToArray ( Nextras\Orm\Entity\IEntity $entity ) | ||
getRelationshipMapper ( $type, |
||
processAutoupdate ( Nextras\Orm\Entity\IEntity $entity, array $args ) | ||
processInsert ( Nextras\Orm\Entity\IEntity $entity, $data ) | ||
processMySQLAutoupdate ( Nextras\Orm\Entity\IEntity $entity, array $args ) | ||
processPostgreAutoupdate ( Nextras\Orm\Entity\IEntity $entity, array $args ) | ||
processRemove ( Nextras\Orm\Entity\IEntity $entity, $primary ) | ||
processUpdate ( Nextras\Orm\Entity\IEntity $entity, $data, $primary ) |
public __construct ( Nextras\Dbal\Connection $connection, |
||
$connection | Nextras\Dbal\Connection | |
$cache |
public beginTransaction ( ) |
public builder ( ) : Nextras\Dbal\QueryBuilder\QueryBuilder | ||
return | Nextras\Dbal\QueryBuilder\QueryBuilder |
public createCollectionManyHasMany ( Nextras\Orm\Mapper\IMapper $mapperTwo, |
||
$mapperTwo | Nextras\Orm\Mapper\IMapper | |
$metadata | ||
$parent | Nextras\Orm\Entity\IEntity |
public createCollectionManyHasOne ( |
||
$metadata | ||
$parent | Nextras\Orm\Entity\IEntity |
public createCollectionOneHasMany ( |
||
$metadata | ||
$parent | Nextras\Orm\Entity\IEntity |
public createCollectionOneHasOne ( |
||
$metadata | ||
$parent | Nextras\Orm\Entity\IEntity |
protected createRelationshipMapper ( $type, |
||
$metadata | ||
$otherMapper | Nextras\Orm\Mapper\IMapper |
protected entityToArray ( Nextras\Orm\Entity\IEntity $entity ) | ||
$entity | Nextras\Orm\Entity\IEntity |
public getManyHasManyParameters ( |
||
$sourceProperty | ||
$targetMapper | Nextras\Orm\Mapper\IMapper |
protected getRelationshipMapper ( $type, |
||
$metadata | ||
$otherMapper | Nextras\Orm\Mapper\IMapper |
public getStorageReflection ( ) : Nextras\Orm\Mapper\Dbal\StorageReflection\IStorageReflection | ||
return | Nextras\Orm\Mapper\Dbal\StorageReflection\IStorageReflection |
public persist ( Nextras\Orm\Entity\IEntity $entity ) | ||
$entity | Nextras\Orm\Entity\IEntity |
protected processAutoupdate ( Nextras\Orm\Entity\IEntity $entity, array $args ) | ||
$entity | Nextras\Orm\Entity\IEntity | |
$args | array |
protected processInsert ( Nextras\Orm\Entity\IEntity $entity, $data ) | ||
$entity | Nextras\Orm\Entity\IEntity |
protected processMySQLAutoupdate ( Nextras\Orm\Entity\IEntity $entity, array $args ) | ||
$entity | Nextras\Orm\Entity\IEntity | |
$args | array |
protected processPostgreAutoupdate ( Nextras\Orm\Entity\IEntity $entity, array $args ) | ||
$entity | Nextras\Orm\Entity\IEntity | |
$args | array |
protected processRemove ( Nextras\Orm\Entity\IEntity $entity, $primary ) | ||
$entity | Nextras\Orm\Entity\IEntity |
protected processUpdate ( Nextras\Orm\Entity\IEntity $entity, $data, $primary ) | ||
$entity | Nextras\Orm\Entity\IEntity |
public remove ( Nextras\Orm\Entity\IEntity $entity ) | ||
$entity | Nextras\Orm\Entity\IEntity |