Solar_Sql_Adapter_MysqlReplicated::_getTypeSizeScope()

protected array Solar_Sql_Adapter_MysqlReplicated::_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