Sort direction for ORDER BY within a window definition.
Accepts the shared SortDirection enum (re-exported from ../../types)
in addition to the raw 'ASC' / 'DESC' string literals, which remain fully
supported for backward compatibility.
Example
// Using raw string literals (still supported) rowNumber().partitionBy('department').orderBy('salary', 'DESC')
// Using the SortDirection enum import { SortDirection } from'prorm'; rowNumber().partitionBy('department').orderBy('salary', SortDirection.DESC)
Sort direction for ORDER BY within a window definition.
Accepts the shared SortDirection enum (re-exported from
../../types) in addition to the raw'ASC'/'DESC'string literals, which remain fully supported for backward compatibility.