Join Discord
Powered by
I know, but I'm looking for aggregating data e.g.:...
# help
k
Kazuto
02/26/2022, 10:29 AM
I know, but I'm looking for aggregating data e.g.: A category has many expenses -> each expense has an amount -> querying categories with
total_amount_expenses
s
silentworks
02/27/2022, 10:06 AM
You can create either a Postgres view to handle this or create a Postgres function and call it via the
.rpc
method of the supabase library.
k
Kazuto
02/27/2022, 10:08 AM
Ah, thanks for the suggestions. I'll look into that. Really enjoying Supabase so far 🙂
Previous
Next