Interface Phalcon\Db\ColumnInterface
Phalcon\Db\ColumnInterface initializer
Methods
abstract public string getSchemaName ()
Returns schema’s table related to column
abstract public string getName ()
Returns column name
abstract public int getType ()
Returns column type
abstract public int getSize ()
Returns column size
abstract public int getScale ()
Returns column scale
abstract public boolean isUnsigned ()
Returns true if number column is unsigned
abstract public boolean isNotNull ()
Not null
abstract public boolean isPrimary ()
Column is part of the primary key?
abstract public boolean isAutoIncrement ()
Auto-Increment
abstract public boolean isNumeric ()
Check whether column have an numeric type
abstract public boolean isFirst ()
Check whether column have first position in table
abstract public string getAfterPosition ()
Check whether field absolute to position in table
abstract public int getBindType ()
Returns the type of bind handling
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Db_ColumnInterface.html