© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
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
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
How do you use an Alias with JS select?
S
Supabase / help-and-questions
4y ago
How can i get the user data in Next JS Api Route Handler
S
Supabase / help-and-questions
13mo ago
Query data with Next.js
S
Supabase / help-and-questions
4y ago
Comparing query data with an array of numbers
S
Supabase / help-and-questions
4y ago