Skip to content

Kirby 3.5.7.1

$query->update()

Fires an update query

$query->update(mixed $values = null, mixed $where = null): bool

Parameters

Name Type Default Description
$values mixed null You can pass values here or set them with ->values() before
$where mixed null You can pass a where clause here or set it with ->where() before

Return type

bool

Parent class

Kirby\Database\Query