db\ColumnSchemaBuilder buildNotNullString()

buildNotNullString() protected method

Builds the not null constraint for the column.

protected string buildNotNullString ( )
return string

Returns 'NOT NULL' if $isNotNull is true, 'NULL' if $isNotNull is false or an empty string otherwise.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.