Tags: supabase/postgres-meta
Tags
feat(typegen): add functions setof type introspection (#971) * feat(typegen): add setof function type introspection - Introspect the setof function fields for functions - Restore functions as unions of args + returns * chore: update snapshots * chore: unify sort and dedup loops * chore: remove duplicate sort * chore: include view in type * fix: isOneToOne * fix: tests * chore: dedup typescript typegen logic * chore: re-use generateColumn * fix: retrieve prorows only * chore: refactor typegen for prorows only * fix: only get reltype in types * chore: reuse relationTypeByIds * chore: reduce functions changes to minimum * chore: only single loop for types * chore: single sort for relationships * chore: reduce loops * fix: relationtype setof functions generation * chore: fix prettier * chore: update snapshots * chore: fix types test * fix: test types * fix: include materializedView types * test: add search_todos_by_details function * fix: add setof from * for all relation functions * fix(typescript): union unknown null (#995) * fix(typescript): unknown is already nullable Fixes: supabase/cli#4234 supabase/cli#577 * fix: also exclude any from null union
perf: suboptimal tables query schema filter happens late (#980) * wip: optimize queries * wip: refactor queries for root filtering * perf: add root level filtering to all queries * feat: add functions args retrieval * chore: fix functions * fix(table): use or for table relationships * test(functions): add tests for retrival argument based
PreviousNext