Skip to content

Kirby 6.0.0

$query->values()

Sets the values which should be used for the update or insert clause

$query->values(mixed $values = []): Query

Parameters

Name Type Default Description
$values mixed [] Can either be a string or an array of values

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