Skip to content

Kirby 4.5.0

$query->andWhere()

Shortcut to attach a where clause with an AND operator.

$query->andWhere(...$args = null): Kirby\Database\Query

Parameters

Name Type Default
... $args mixed null

Return type

Kirby\Database\Query

This method does not modify the existing $query object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Database\Query