PHP Class eZ\Publish\Core\Persistence\Doctrine\ConnectionHandler\SqliteConnectionHandler

Inheritance: extends eZ\Publish\Core\Persistence\Doctrine\ConnectionHandler
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$lastInsertedIds

Public Methods

Method Description
getAutoIncrementValue ( string $table, string $column ) : mixed Get auto increment value.
getSequenceName ( string $table, string $column ) : string Returns the name of the affected sequence.
lastInsertId ( string $sequenceName = null ) : string Retrieve the last auto incremet or sequence id.

Method Details

getAutoIncrementValue() public method

Returns the value used for autoincrement tables. Usually this will just be null. In case for sequence based RDBMS this method can return a proper value for the given column.
public getAutoIncrementValue ( string $table, string $column ) : mixed
$table string
$column string
return mixed

getSequenceName() public method

Returns the name of the affected sequence.
public getSequenceName ( string $table, string $column ) : string
$table string
$column string
return string

lastInsertId() public method

Retrieve the last auto incremet or sequence id.
public lastInsertId ( string $sequenceName = null ) : string
$sequenceName string
return string

Property Details

$lastInsertedIds protected property

protected $lastInsertedIds