Skip to content

Kirby 3.6.0

$sql->join()

Creates a join query

$sql->join(string $type, string $table, string $on): array

Parameters

Name Type Default
$type * string
$table * string
$on * string

Return type

array

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException if an invalid join type is given

Parent class

Kirby\Database\Sql