Libraries
    Preparing search index...
    • Resolve a ColumnRef to a plain SQL column name (or a Knex.Raw expression for nested JSON paths when knex is supplied).

      • String refs are treated as property keys (or dot-separated nested paths such as 'address.city') and translated to column names via the column map.
      • Function refs (property accessor) are resolved via PropertyDescriptorTree, then translated to column names. Nested accessors (e.g. t => t.address.city) produce a Knex.Raw JSON-path expression when knex is provided.

      Parameters

      • ref: ColumnRef<any>

        Column reference (property key, dotted path, or accessor fn).

      • schema: ObjectSchemaBuilder<any, any, any, any, any, any, any>

        Root ObjectSchemaBuilder.

      • label: string

        Human-readable label for error messages.

      • knex: Knex

        Knex instance. Required for nested JSON-path refs; when omitted and a nested path is detected, an error is thrown.

      Returns string | Raw<any>

    • Resolve a ColumnRef to a plain SQL column name (or a Knex.Raw expression for nested JSON paths when knex is supplied).

      • String refs are treated as property keys (or dot-separated nested paths such as 'address.city') and translated to column names via the column map.
      • Function refs (property accessor) are resolved via PropertyDescriptorTree, then translated to column names. Nested accessors (e.g. t => t.address.city) produce a Knex.Raw JSON-path expression when knex is provided.

      Parameters

      • ref: ColumnRef<any>

        Column reference (property key, dotted path, or accessor fn).

      • schema: ObjectSchemaBuilder<any, any, any, any, any, any, any>

        Root ObjectSchemaBuilder.

      • label: string

        Human-readable label for error messages.

      Returns string