TypeScript Utils by Ian Macalinao
    Preparing search index...

    Function jsonbArrayColumnFrom

    • Helper to get a JSONB array column from a subquery.

      This only works in Postgres, and you must return a column value from the subquery.

      Type Parameters

      • O extends { value: unknown }

      Parameters

      • expr: Expression<O>

        The subquery to get the json array from

      Returns RawBuilder<O["value"][]>

      The json array column