Previous Page
orHaving()

Solar_Sql_Select
orWhere()

Next Page
order()

orWhere()

public Solar_Sql_Select orWhere ( string $cond, string $val default '--5a333dc50d9341d8e73e56e2ba591b87' )

Adds a WHERE condition to the query by OR.

Parameters

  • (string) $cond: The WHERE condition.
  • (string) $val: A value to quote into the condition.

Returns

  • (Solar_Sql_Select)

Description

Adds a WHERE condition to the query by OR.

Otherwise identical to where().

See Also