Previous Page
_getCacheKey()

Solar_Sql_Adapter_Sqlite
_getTypeSizeScope()

Next Page
_modAutoincPrimary()

_getTypeSizeScope()

protected array _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.