Skip to content

Kirby 4.2.0

$sql->order()

Creates the order by syntax

$sql->order(?string $order = null): array

Parameters

Name Type Default
$order string|null null

Return type

array

Parent class

Kirby\Database\Sql