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

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

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.
quoteIdentifier ( string $identifier ) : string Custom quote identifier method.

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

quoteIdentifier() public method

Custom quote identifier method.
public quoteIdentifier ( string $identifier ) : string
$identifier string
return string