SupabaseS
Supabase4y ago
Omni

return numeric identity after insert?

Hello, I am very beginner at Supabase, and I am trying to use numeric sequential id, rather then uuid. I cannot find how to get back newly created id (using Supabase API), once insert operation is done.

solution: run select after insert, e.g.
insert({...}).select().single();
Was this page helpful?