Class SchemaColumn
Representation of a schema column.
-
ICanBoogie\ActiveRecord\SchemaColumn
uses
ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
protected
get_primary( void )
public
__construct( array $options
)
protected
get_is_serial( void )
: boolean
Whether the column is a serial column.
Whether the column is a serial column.
Returns
boolean
public
render( void )
: string
Renders the column into a string.
Renders the column into a string.
Returns
string
public
__toString( void )
Constants summary
TYPE_BLOB
: string
'blob'
TYPE_BOOLEAN
: string
'boolean'
TYPE_INTEGER
: string
'integer'
TYPE_TEXT
: string
'text'
TYPE_VARCHAR
: string
'varchar'
Properties summary
public
$size
: string|integer
public
$unsigned
: boolean
false
public
$null
: boolean
false
public
$unique
: boolean
false
protected
$primary
: boolean
false
public
$auto_increment
: boolean
false
public
$indexed
: boolean
false
Magic properties
public read-only
$primary
: string|array