© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
bunge

POST request using foreign key-table

if im posting to the "posts" table but need the id of the type of post it is in the types table, how while making the insert of this new post would i get the type of post it is from this foreign table based on the ID field?
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 I filter a table with foreign key using postgrest?
SupabaseSSupabase / help-and-questions
4y ago
Composite key foreign key issue
SupabaseSSupabase / help-and-questions
6mo ago
Filtering results by foreign key via cURL request
SupabaseSSupabase / help-and-questions
4y ago
Query table with multiple cols with same foreign key. Join tables.
SupabaseSSupabase / help-and-questions
3y ago