Previous Page
_getTypeSizeScope()

Solar_Sql_Adapter_Mysql
_modAutoincPrimary()

Next Page
_modIndexName()

_modAutoincPrimary()

protected void _modAutoincPrimary ( string &$coldef, bool $autoinc, bool $primary )

Given a column definition, modifies the auto-increment and primary-key clauses in place.

Parameters

  • (string) &$coldef: The column definition as it is now.
  • (bool) $autoinc: Whether or not this is an auto-increment column.
  • (bool) $primary: Whether or not this is a primary-key column.

Returns

  • (void)

Description

Given a column definition, modifies the auto-increment and primary-key clauses in place.