ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
7 replies
Xzight

how can I pass an array of objects to an rpc call?

For example something like
const { data, error } = await supabase
  .rpc('add_task_with_tags', { tags: [{owner_id: 1, title: "tag1"}] })
const { data, error } = await supabase
  .rpc('add_task_with_tags', { tags: [{owner_id: 1, title: "tag1"}] })
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

insert an array of objects
SupabaseSSupabase / help-and-questions
4y ago
How to unpack an array of arrays with an RPC
SupabaseSSupabase / help-and-questions
4y ago
RPC to add to an array
SupabaseSSupabase / help-and-questions
4y ago
pass jsonb to rpc
SupabaseSSupabase / help-and-questions
4y ago