Polyglot SQL API Documentation - v0.1.0
    Preparing search index...

    Type Alias Ordered

    Represent an expression with sort direction and null ordering.

    Used inside ORDER BY clauses, window frame ORDER BY, and index definitions. When desc is false the sort is ascending. The nulls_first field controls the NULLS FIRST / NULLS LAST modifier; None means unspecified (database default).

    type Ordered = {
        desc: boolean;
        explicit_asc: boolean;
        nulls_first: boolean | null;
        this: Expression;
        with_fill?: WithFill | null;
    }
    Index

    Properties

    desc: boolean

    Whether the sort direction is descending (true) or ascending (false).

    explicit_asc: boolean

    Whether ASC was explicitly written (not just implied)

    nulls_first: boolean | null

    Some(true) = NULLS FIRST, Some(false) = NULLS LAST, None = unspecified.

    The expression to sort by.

    with_fill?: WithFill | null

    ClickHouse WITH FILL clause