© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
13 replies
link

How do I 'Group by' in Javascript?

I have a table with items and a table with tags the items can have. If I query for multiple tags and an item get multiple matches I will get select multiple of the same item but I only want to select an item once per match. I can't find any way option to "group by". How do I achieve this?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Group or filter by hour in PostgREST
SupabaseSSupabase / help-and-questions
4y ago
How do I filter by multiple options?
SupabaseSSupabase / help-and-questions
4y ago
Supabase own a filter group by?
SupabaseSSupabase / help-and-questions
4y ago
How do I deploy a javascript file as an edge function?
SupabaseSSupabase / help-and-questions
7mo ago