- ⌂ query
- Methods
query::or_where_null()
Adds an ISNULL comparison to the cQL WHERE clause. A logical OR will be used to combine it with any existing where expressions.
Prototype
or_where_null(mixed $expressions): query
Parameters
See where().
Return
The updated query object is returned. This is handy for chaining additional methods.
Example
// equivalent to WHERE Age>18 OR ISNULL(Address.State)
$query->where('Age >', 18);
$query->or_where_null('Address.State');