© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
8 replies
Nin

Chain Supabase Insert(s)

Wondering if I can chain a Supabase insert, for example:

Insert into table x
Select newly inserted row
Insert into table y with id of newly inserted row

And if so, how would a JS function look like?
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

Supabase API's
SupabaseSSupabase / help-and-questions
3mo ago
Supabase mass insert/upsert from Storage file
SupabaseSSupabase / help-and-questions
3d ago
supabase realtime INSERT and UPDATE not working?
SupabaseSSupabase / help-and-questions
4y ago
How to insert data(specifically dynamic UUID) to supabase via the supabase UI?
SupabaseSSupabase / help-and-questions
3y ago