package Default
inherited_from \Zend\Db\Sql\Ddl\Constraint\AbstractConstraint

 Methods

__construct()

__construct(string|\Zend\Db\Sql\ExpressionInterface $expression, null|string $name) 
inherited_from \Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::__construct()

Parameters

$expression

string\Zend\Db\Sql\ExpressionInterface

$name

nullstring

__construct()

__construct(null|string|array $columns = null, null|string $name = null
Inherited

Parameters

$columns

nullstringarray

$name

nullstring

addColumn()

addColumn(string $column) : \Zend\Db\Sql\Ddl\Constraint\Check
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$column

string

Returns

\Zend\Db\Sql\Ddl\Constraint\Check

getColumns()

getColumns() 
Inherited
inherited_from \Zend\Db\Sql\Ddl\Constraint\ConstraintInterface::getColumns()

{@inheritDoc}

getExpressionData() 
inherited_from \Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::getExpressionData()

{@inheritDoc}

getExpressionData() 
Inherited

getName()

getName() : string
Inherited

Returns

string

setColumns()

setColumns(null|string|array $columns) : \Zend\Db\Sql\Ddl\Constraint\Check
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$columns

nullstringarray

Returns

\Zend\Db\Sql\Ddl\Constraint\Check

setName()

setName(string $name) : \Zend\Db\Sql\Ddl\Constraint\Check
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$name

string

Returns

\Zend\Db\Sql\Ddl\Constraint\Check

 Properties

 

$columnSpecification

$columnSpecification : string

Default

' (%s)'
 

$columns

$columns : array

Default

array()
 

$expression

$expression : string | \Zend\Db\Sql\ExpressionInterface

Default

 

$name

$name : string

Default

''
 

$namedSpecification

$namedSpecification : string

Default

'CONSTRAINT %s '
 

$specification

$specification 

Default

'CHECK (%s)'
inherited_from \Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::specification
 

$specification

$specification : string

Default

''