Level / abstract-level

Abstract class for a lexicographically sorted key-value database.
MIT License
123 stars 8 forks source link

Breaking: remove deferred chained batch #51

Closed vweevers closed 1 year ago

vweevers commented 1 year ago

Removes the ability to use chained batch before the db is open, because due to its synchronous API, the problem of operations being deferred extends to hooks (https://github.com/Level/abstract-level/pull/45). I.e. prewrite hook functions must also be functional if db.status is opening and that's an unnecessary burden for userland code.