does supabase support transactions like firebase? #14796
Unanswered
SalishKumar
asked this question in
Questions
Replies: 2 comments 2 replies
-
You would do all the operations in a Postgres function and call with rpc. Functions are run as a transaction with rollback on any error. |
Beta Was this translation helpful? Give feedback.
2 replies
-
If you use a native Postgres connection, you can use the transactions like normal there. It's just not possible via the API. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a json file, i will be parsing that and writing it to the supabase in forms of 3 tables, so i want data to be consistent in 3 tables, but i am not able to find something relatable in supabase documentation
Beta Was this translation helpful? Give feedback.
All reactions