Level / level

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

Сorrect way to read keys and values #244

Open mortinlojen3030 opened 7 months ago

mortinlojen3030 commented 7 months ago

When I go through the keys and values: for await (const [key, value] of db.iterator()) { } I get keys like: _file://addresses In bytes: [95, 102, 105, 108, 101, 58, 47, 47, 0, 1, 97, 100, 100, 114, 101, 115, 115, 101, 115] And the values always start with:  [1] How can i read db correctly?

vweevers commented 7 months ago

That looks like you're trying to read a third-party database with a custom key format, which we can't help you with.