ohcnetwork / stay_be

CoronaSafe Stay BE NestJS
MIT License
4 stars 8 forks source link

Make all DB Writes Transactional #78

Open gigincg opened 4 years ago

gigincg commented 4 years ago

Make sure that all functions that involve database writes are run as transactions. Example: If fn foo makes 3 DB writes and the 3rd DB write fails, the entire transaction should be rolled back.