Skip to content

Kirby 5.0.2

$query->leftJoin()

Shortcut for creating a left join clause

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

Parameters

Name Type Default Description
$tablerequired string no default value Name of the table, which should be joined
$onrequired string no default value The on clause for this join

Return type

Kirby\Database\Query

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

Parent class

Kirby\Database\Query