Skip to content

Kirby 6.0.0

$sql->order()

Creates the order by syntax

$sql->order(string|null $order = null): array{query: string|null, bindings: array{}}

Parameters

Name Type Default
$order stringornull null

Return type

array{query: string|null, bindings: array{}}

Parent class

Kirby\Database\Sql