Level / level

Universal abstract-level database for Node.js and browsers.
MIT License
1.55k stars 106 forks source link

promises #164

Closed royalcala closed 4 years ago

royalcala commented 4 years ago

hello, the db.get doesnt return a promise, if the id doesnt find, you must to use promise before and use a callback. Is this the correct library?, I see that there are many libraries like levelup(leveldown), this is a library level(levelup(leveldown), this one is the newest or recommended top of composition?, thanks best regards

vweevers commented 4 years ago

Most folks use level - it's the most convenient package. It supports promises since 2.0.0.

You can also use levelup by itself, and compose your own database. levelup supports promises since 2.0.0.

vweevers commented 4 years ago

I assume your thumbs up means good to close.