NullableStringField
Class. It extends StringField.
A nullable string column of a table (?string). notEquals() and notIn() also match rows whose column is null, like
null !== $value in PHP.
Constructor
Methods
between()
Matches values from $min to $max, both included. Compared without regard to case.
Returns Condition
contains()
Matches values that contain $text, without regard to case.
Returns Condition
equals()
Matches values equal to $value.
Returns Condition
getClass()
The class the field belongs to.
Returns class-string
getField()
The name of the field: the name of the constructor parameter.
Returns string
greaterOrEqual()
Matches values that sort after $value or are equal to it, without regard to case.
Returns Condition
greaterThan()
Matches values that sort after $value in the order of the database, without regard to case.
Returns Condition
in()
Matches values equal to one of $values. Throws an InvalidArgumentException if no value is given.
Returns Condition
isNotNull()
Rows whose column is not null.
Returns Condition
isNull()
Rows whose column is null.
Returns Condition
lessOrEqual()
Matches values that sort before $value or are equal to it, without regard to case.
Returns Condition
lessThan()
Matches values that sort before $value in the order of the database, without regard to case.
Returns Condition
notEquals()
Matches values not equal to $value. On a nullable column, rows whose column is null match as well.
Returns Condition
notIn()
Matches values equal to none of $values. On a nullable column, rows whose column is null match as well. Throws an InvalidArgumentException if no value is given.
Returns Condition