Drarig29 / brackets-manager.js

A simple library to manage tournament brackets (round-robin, single elimination, double elimination).
https://drarig29.github.io/brackets-docs
MIT License
245 stars 38 forks source link

Support transactions #171

Open Drarig29 opened 1 year ago

Drarig29 commented 1 year ago

We would add a beginTransaction(table) and a commit() method to the CRUD interface.

This would let people build up some cache for the given table. So that an object can build up across multiple CRUD calls. Then commit() would save the cached object into the given table.

That's just an idea for now.