Skip to content

Kirby 6.0.1

$mysql->order()

Creates the order by syntax

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