Skip to content

compileOrder

Corey Avis edited this page Sep 23, 2026 · 2 revisions

compileOrder [Protected]

A specialized internal helper that isolates the logic for building the ORDER BY clause.

Usage

compileOrder(): string

Parameters

  • Takes no arguments.

Return Value

(string) : Returns the compiled ORDER BY SQL conditional fragment.

Examples

$db->compileOrder();
// Result: 'ORDER BY `key`'

Debug Errors

  • No debug errors.

Related Methods

order | orderByValue | asc | desc | compile | compileLimit | compileWhere


Home | CoreyDB | Compilers

Clone this wiki locally