Bluz\Db\Query\Traits\Where::orWhere
Add WHERE .. OR .. condition
Adds one or more restrictions to the query results, forming a logical disjunction with any previously specified restrictions. <code> $sb = new SelectBuilder(); $sb ->select('u.name') ->from('users', 'u') ->where('u.id = 1') ->orWhere('u.id = ?', 2); </code>
Signature
public function orWhere(
$conditions )
Parameters
$conditions
—
Returns
- $this