Skip to content

Kirby 4.4.1

$query->innerJoin()

Shortcut for creating an inner join clause

$query->innerJoin(string $table, string $on): Kirby\Database\Query

Parameters

Name Type Default Description
$table * string Name of the table, which should be joined
$on * string The on clause for this join

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