Solar_Sql_Adapter_MysqlReplicated::_modSequenceName()

protected string Solar_Sql_Adapter_MysqlReplicated::_modSequenceName ( string $name )

Modifies the sequence name.

Inherited from Solar_Sql_Adapter_Mysql.

Parameters

  • (string) $name: The requested sequence name.

Returns

  • (string) The modified sequence name.

Description

Modifies the sequence name.

MySQL doesn't have sequences, so this adapter uses a table instead. This means we have to deconflict between "real" tables and tables being used for sequences, so this method appends "__s" to the sequnce name.



Local