3
Fetch data with Foreign table but using group by
Source: supabase/supabase#14125 · opened by @BrunoFerreira95
Introduction:
I was working here in Service Security with a project of Store, when I have to receive products and send products, when I was being using nextjs and supabase.
Problem:
Before I send products I need to fetch all entries and make a group by for the goods id, to make a sum of quantities of products.
I using the version of JavaScript 2. x, and when I ask for help on the supabase AI, they suggest a lot of possibility but they are not implemented.
Suggest or Feat:
The group by its an import SQL method when the purpose the team could implement for the next versions.
Solution:
I will need to fetch the data and make the group by in JavaScript language using programming.
Conclusion:
I’m a junior developer in Brazil company, and I am trying to help the community with this post, so be patient about maybe it’s already implemented but I do not find the solution.
I was working here in Service Security with a project of Store, when I have to receive products and send products, when I was being using nextjs and supabase.
Problem:
Before I send products I need to fetch all entries and make a group by for the goods id, to make a sum of quantities of products.
I using the version of JavaScript 2. x, and when I ask for help on the supabase AI, they suggest a lot of possibility but they are not implemented.
Suggest or Feat:
The group by its an import SQL method when the purpose the team could implement for the next versions.
Solution:
I will need to fetch the data and make the group by in JavaScript language using programming.
Conclusion:
I’m a junior developer in Brazil company, and I am trying to help the community with this post, so be patient about maybe it’s already implemented but I do not find the solution.
No pledges yet. Be the first to back this.
Comments
Similar requests
Improve table editor UI for arrays of foreign keys (they aren't supported)
2 votes · 0 comments
Default schema for Foreign Keys
1 vote · 0 comments
Multiple foreign tables in a single "or" statement
14 votes · 0 comments
Foreign key relations page
1 vote · 0 comments
Improve Foreign Key Constraint Error UX in Table Editor
0 votes · 0 comments
No comments yet.