Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
yii
db
ColumnSchemaBuilder
check
yii\db\ColumnSchemaBuilder::check PHP Method
ColumnSchemaBuilder Class Documentation
Exibir arquivo
Open project: yiisoft/yii2
check()
public
method
Sets a
CHECK
constraint for the column.
public
check
(
string
$check
)
$check
string
the SQL of the `CHECK` constraint to be added.
public function check($check) { $this->check = $check; return $this; }
ColumnSchemaBuilder
__construct
__toString
after
append
buildAfterString
buildAppendString
buildCheckString
buildCommentString
buildCompleteString
buildDefaultString
buildFirstString
buildLengthString
buildNotNullString
buildUniqueString
buildUnsignedString
check
comment
defaultExpression
defaultValue
first
getTypeCategory
notNull
null
unique
unsigned