Skip to content

Kirby 4.2.0

$query->values()

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

$query->values(mixed $values = [ ]): Kirby\Database\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 does not modify the existing $query object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Database\Query