Support json_agg(column_ref)
.
#1280
Labels
api
Related to library's API
enhancement
New feature or request
postgres
Related to PostgreSQL
typescript
Related to Typescript
Hey 👋
Currently
eb.fn.jsonAgg
supports table names and expressions as inputs. In such cases, the return type is a JSON object array.json_agg
also supports passing a column reference. In such cases, the return type is a literal array.We should support this.
The return type would be
{ person_pets: string[] }
.The text was updated successfully, but these errors were encountered: