Skip to content

Kirby 3.9.8

$mysql->join()

Creates a join query

$mysql->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\Mysql inherited from Kirby\Database\Sql