PHP Class Storm\Drivers\Platforms\Base\Queries\BasePersister

Inheritance: extends Storm\Drivers\Base\Relational\Queries\Persister
Show file Open project: timetoogo/penumbra

Protected Methods

Method Description
InsertRowsIndividually ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, array $Rows, callable $PostIndividualInsertCallback )
SaveRows ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, array $RowsWithoutPrimaryKey, array $RowsWithPrimaryKeys, ReturningDataKeyGenerator $ReturningDataKeyGenerator = null, PostIndividualInsertKeyGenerator $PostIndividualInsertKeyGenerator = null )
UpsertRows ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, array $Rows, $ShouldReturnKeyData ) : array | void

Method Details

InsertRowsIndividually() abstract protected method

abstract protected InsertRowsIndividually ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, array $Rows, callable $PostIndividualInsertCallback )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table
$Rows array
$PostIndividualInsertCallback callable

SaveRows() final protected method

final protected SaveRows ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, array $RowsWithoutPrimaryKey, array $RowsWithPrimaryKeys, ReturningDataKeyGenerator $ReturningDataKeyGenerator = null, PostIndividualInsertKeyGenerator $PostIndividualInsertKeyGenerator = null )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table
$RowsWithoutPrimaryKey array
$RowsWithPrimaryKeys array
$ReturningDataKeyGenerator Storm\Drivers\Base\Relational\PrimaryKeys\ReturningDataKeyGenerator
$PostIndividualInsertKeyGenerator Storm\Drivers\Base\Relational\PrimaryKeys\PostIndividualInsertKeyGenerator

UpsertRows() abstract protected method

abstract protected UpsertRows ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, array $Rows, $ShouldReturnKeyData ) : array | void
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table
$Rows array
return array | void Depending on should return key data