Level / level

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

[Question] How could I query a list of the stored keys? #168

Closed almosnow closed 4 years ago

almosnow commented 4 years ago

Self-explanatory.

Is there some kind of db.list( ... ) method?

almosnow commented 4 years ago

Ok I found out.

astutesoftware commented 4 years ago

Self-explanatory.

Is there some kind of db.list( ... ) method?

Ok I found out.

and how was that?

almosnow commented 4 years ago

Use createReadStream:

https://github.com/Level/level#createReadStream