How to make transaction with TypeScript
Hey! I'm using supabase with next.js app, and I have a fairly big RPC function that I use from the backend only and it's hard to maintain it. I use the RPC function only in my backend so I came into conclusion that it would be much more cleaner if I will do it in a transaction (since it needs to be atomic)
However, I don't know if it's possible with supabase. is supabase admin supports doing a DB transactions?
1 Reply
@supabase/supabase-js does not support transactions at the moment.