webCOMAND

query::or_where()

Same as where(), except a logical OR will be used between any existing where clause and the specified where clause.

Prototype

or_where(mixed $expressions): query

Parameters

See where().

Return

The updated query object is returned.  This is handy for chaining additional methods.

Example

$query->or_where('Name', '"Fred"', 'Age >=', 18);

Related

where(), or_where_in(), or_where_null()