Level / abstract-leveldown

An abstract prototype matching the leveldown API.
MIT License
146 stars 53 forks source link

Add clear() #310

Closed vweevers closed 5 years ago

vweevers commented 6 years ago

Start of #236. For early feedback (see comments in code).

vweevers commented 5 years ago

@ralphtheninja Updated. Could you have a look? Tests are yet to do, but I'd first like a review of the general approach, taking into account https://github.com/Level/memdown/pull/191 and https://github.com/Level/level-js/issues/174.

vweevers commented 5 years ago

Done. Tested against https://github.com/Level/memdown/pull/191.

vweevers commented 5 years ago

Once https://github.com/Level/memdown/pull/191 lands in master I'll make a canary branch there to run browser tests as well.