Drizzle support SELECT FOR UPDATE of postgres to avoid logical race conditions ?
I have a similar use case like this: https://on-systems.tech/blog/128-preventing-read-committed-sql-concurrency-errors/
Currently I use a mutex in my node main process, but I think is better to move this to the db.
If is possible can you show me a minimal example
Thank you so much
Currently I use a mutex in my node main process, but I think is better to move this to the db.
If is possible can you show me a minimal example
Thank you so much
Systems and Tech Thoughts
Learn how to prevent logical race conditions in read-modify-write SQL workloads using SELECT FOR UPDATE.
