Solar_Sql_Adapter_Mysql::_getTypeSizeScope()

protected array Solar_Sql_Adapter_Mysql::_getTypeSizeScope ( string $spec )

Given a column specification, parse into datatype, size, and decimal scope.

Inherited from Solar_Sql_Adapter.

Parameters

  • (string) $spec: The column specification; for example, "VARCHAR(255)" or "NUMERIC(10,2)".

Returns

  • (array) A sequential array of the column type, size, and scope.

Description

Given a column specification, parse into datatype, size, and decimal scope.



Local