Hey! Does anybody know how to restrict the databas...
# help
h
Hey! Does anybody know how to restrict the database to 1 insert at a time? I want to build an app that needs data synchronized but it also relies on that same data for validation. Thanks!
t
Supabase uses Postgres and it’s amazing at keeping integrity. Read up on Postgres unique keys and check constraints.
h
So would that mean that I could lock the database during a write then unlock afterwards again?
t
You likely won't need to. What exactly do you need to do?