Skip to content

Kirby 4.5.0

$query->insert()

Fires an insert query

$query->insert(mixed $values = null): mixed

Parameters

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

Return type

mixed

Parent class

Kirby\Database\Query