© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago•
12 replies
Fadlillah

filtering on not selected column on aggregate solution

let { data, error } = await supabase
.from('transaction_items')
.select(
products(*), total:quantity.sum()
products(*), total:quantity.sum()
)
.gte("transactions.created_at", fromDate)
.lte("transactions.created_at", toDate)

I want to do this, but error
{
"code":"PGRST108",
"details":null,
"hint":"Verify that 'transactions' is included in the 'select' query parameter.",
"message":"'transactions' is not an embedded resource in this request"
}
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

Changed column type broke filtering
SupabaseSSupabase / help-and-questions
4y ago
filtering on child, but not select
SupabaseSSupabase / help-and-questions
3y ago
filtering key from a jsonb column that is not null
SupabaseSSupabase / help-and-questions
4y ago
ordering on renaming aggregate rest
SupabaseSSupabase / help-and-questions
8mo ago