$sql->join()
Creates a join query
$sql->join(string $type, string $table, string $on): array
Parameters
| Name | Type | Default |
|---|---|---|
| $typerequired | string |
no default value |
| $tablerequired | string |
no default value |
| $onrequired | string |
no default value |
Return type
array
This method modifies the existing $sql object it is applied to and returns it again.
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
if an invalid join type is given |