Solar_Sql_Adapter_Mysql::_modSequenceName()

protected string Solar_Sql_Adapter_Mysql::_modSequenceName ( string $name )

Modifies the sequence name.

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