Skip to content

Kirby 6.0.0

$query->andWhere()

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

$query->andWhere(mixed ...$args): Query

Parameters

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

Return type

Kirby\Database\Query

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

Parent class

Kirby\Database\Query