Solar_Sql_Adapter_Oracle::_modAutoincPrimary()

protected void Solar_Sql_Adapter_Oracle::_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.

For Oracle it only modifies the primary key clause since autoincrement is done via post table creation triggers.



Local