eZ\Publish\Core\Persistence\Doctrine\ConnectionHandler\PostgresConnectionHandler::getAutoIncrementValue PHP Method

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
    public function getAutoIncrementValue($table, $column)
    {
        return "nextval('" . $this->getSequenceName($table, $column) . "')";
    }