Skip to content

Kirby 5.0.1

$query->orWhere()

Shortcut to attach a where clause with an OR operator. Check out the where() method docs for additional info.

$query->orWhere(...$args): Kirby\Database\Query

Parameters

Name Type Default
...$args mixed no default value

Return type

Kirby\Database\Query

This method modifies the existing $ object it is applied to and returns it again.

Parent class

Kirby\Database\Query