level
level copied to clipboard
Сorrect way to read keys and values
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?
That looks like you're trying to read a third-party database with a custom key format, which we can't help you with.