https://supabase.com/ logo
One challenge is that querying a view returns a fl...
# ideas-and-suggestions
f
One challenge is that querying a view returns a flat object. So I found this works well: name columns like this in the view: "parent.child" then use:
Copy code
import { unflatten } from "flat";
import { groupBy, merge } from "lodash";
to build the JS object I need in the client