Remote / foldkit-remote-drizzle
orderByTerms
function · packages/remote-drizzle/src/cursor.ts:176
function orderByTerms(
terms: readonly OrderTerm[],
traversal: Traversal,
): ReadonlyArray<SQL>The ORDER BY for a traversal, nulls placed as the term says: backward
reverses each term, its nulls with it.