class
Primary extends Column (View source)
Constants
SIGNED |
|
UNSIGNED |
|
ALLOW_NULL |
|
NOT_NULL |
|
Methods
__construct(string $name = null, string $comment = '', array $options = array())
Class init.
string
getName()
Method to get property Name
name(string $name)
Method to set property name
string
getType()
Method to get property Type
type(string $type)
Method to set property type
position(string $position)
Method to set property position
comment(string $comment)
Method to set property comment
signed(boolean $signed = true)
Method to set property signed
allowNull(boolean $allowNull = true)
Method to set property allowNull
defaultValue(string $default)
Method to set property default
autoIncrement(boolean $autoIncrement = true)
Method to set property autoIncrement
length(int $length)
Method to set property length
primary(boolean $primary)
Method to set property primary
Details
__construct(string $name = null, string $comment = '', array $options = array())
string
getName()
Method to get property Name
Method to set property name
string
getType()
Method to get property Type
Method to set property type
string
getPosition()
Method to get property Position
Method to set property position
Method to get property Comment
Method to set property comment
boolean
getSigned()
Method to get property Signed
Column
signed(boolean $signed = true)
Method to set property signed
boolean
getAllowNull()
Method to get property AllowNull
Column
allowNull(boolean $allowNull = true)
Method to set property allowNull
string
getDefault()
Method to get property Default
Column
defaultValue(string $default)
Method to set property default
boolean
getAutoIncrement()
Method to get property AutoIncrement
Column
autoIncrement(boolean $autoIncrement = true)
Method to set property autoIncrement
Method to get property Length
Method to set property length
boolean
isPrimary()
Method to get property Primary
Method to set property primary