mini\Database\VirtualDatabase::executeSelectWithExpressionOrderBy()
Method
private
Signature
private function executeSelectWithExpressionOrderBy(mini\Parsing\SQL\AST\SelectStatement $ast, mini\Table\Contracts\TableInterface $table): iterable
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$ast |
mini\Parsing\SQL\AST\SelectStatement |
required | Documentation missing |
$table |
mini\Table\Contracts\TableInterface |
required | Documentation missing |
Returns
iterable
Documentation
Execute SELECT with expression-based ORDER BY
Used when ORDER BY references aliases or expressions that can't be delegated to the table backend. Projects rows first, then sorts.