prorm API Reference
    Preparing search index...

    Enumeration NullsOrder

    NULLS FIRST / NULLS LAST modifier, supported by most (not all) dialects.

    Companion enum NullsOrder is available for the 'FIRST' | 'LAST' string-literal union below; raw string literals continue to work unchanged.

    // Using raw string literals (still supported)
    rowNumber().orderBy('salary', 'DESC', 'LAST')

    // Using the NullsOrder enum
    import { NullsOrder } from './query-builders/functions/window';
    rowNumber().orderBy('salary', 'DESC', NullsOrder.LAST)
    Index
    FIRST: "FIRST"
    LAST: "LAST"