Open leibale opened 6 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
kysely | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 21, 2024 10:28am |
When using it with left join every field becomes nullable (I think that left join changes DB[table]
to a "nullable version"), which is not true for json_agg (which will reply with [null]
for "empty join", or json_agg_strict (which will reply with []
for "empty join").
I'm not too sure if this will be easy to solve.. any help will be appreciated :)
Add support for json_agg_strict (PostgreSQL only) - this function is just like json_agg, but skips null (see https://www.postgresql.org/docs/current/functions-aggregate.html)
A few notes:
Thanks for this awesome package! :)