Companion enum for the 'ASC' | 'DESC' string-literal union used by
IndexField.order. Raw string literals remain valid; the enum is an
additive, opt-in alternative.
Example
// Using raw string literals (still supported) indexes: [{ fields: [{ name:'email', order:'DESC' }] }]
// Using the SortDirection enum import { SortDirection } from'prorm'; indexes: [{ fields: [{ name:'email', order:SortDirection.DESC }] }]
Sort direction for index column ordering.
Companion enum for the
'ASC' | 'DESC'string-literal union used by IndexField.order. Raw string literals remain valid; the enum is an additive, opt-in alternative.Example