© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
2 replies
Actual Left Shark

Can you get an avg of data with the js library?

I’m trying to do something like

Const {data, error} = await supabase.from(“table”).select(“avg(column)”).eq(condition)

Is this possible/what’s the syntax for 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

How do you use an Alias with JS select?
SupabaseSSupabase / help-and-questions
4y ago
How can i get the user data in Next JS Api Route Handler
SupabaseSSupabase / help-and-questions
13mo ago
Query data with Next.js
SupabaseSSupabase / help-and-questions
4y ago
Comparing query data with an array of numbers
SupabaseSSupabase / help-and-questions
4y ago