Skip to content

Kirby 4.3.0


Adds a new join clause to the query

$query->join(string $table, string $on, string $type = 'JOIN'): Kirby\Database\Query


Name Type Default Description
$table * string Name of the table, which should be joined
$on * string The on clause for this join
$type string 'JOIN' The join type. Uses an inner join by default

Return type


This method does not modify the existing $query object but returns a new object with the changes applied. Learn more →

Parent class