Skip to content

Kirby 5.0.4

$query->build()

Builds the different types of SQL queries This uses the SQL class to build stuff.

$query->build(string $type): array

Parameters

Name Type Default Description
$typerequired string no default value (select, update, insert)

Return type

array

The final query

This method modifies the existing $query object it is applied to and returns it again.

Parent class

Kirby\Database\Query