Previous Page
_modAutoincPrimary()

Solar_Sql_Adapter_Mysql
_modIndexName()

Next Page
_modSelect()

_modIndexName()

protected string _modIndexName ( string $table, string $name )

Modifies an index name for adapters.

Inherited from Solar_Sql_Adapter.

Parameters

  • (string) $table: The table on which the index occurs.
  • (string) $name: The requested index name.

Returns

  • (string) The modified index name (most adapters do not modify the name).

Description

Modifies an index name for adapters.

Most adapters don't need this, but some do (e.g. PostgreSQL and SQLite).