enum SortDirection: string
Public API: explicitly declared with @visibility public.

The direction written after an ordering term or an indexed column.

Source: https://sqlite.org/lang_select.html#the_order_by_clause.

Reading a written directiondoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT a FROM t ORDER BY a DESC');
    $query->statement->orderBy[0]->direction // => \SqlSemantics\Platform\Sqlite\Statement\Query\Ordering\SortDirection::Descending

Cases§

case Ascending = 'ASC'
case Descending = 'DESC'

Test cases 13§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 12

Relations§

Constant reads 3
Type declarations 4