Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Сorrect way to read keys and values #244

Open
mortinlojen3030 opened this issue Mar 2, 2024 · 1 comment
Open

Сorrect way to read keys and values #244

mortinlojen3030 opened this issue Mar 2, 2024 · 1 comment
Labels
more information needed Further information is requested question Support or open question(s)

Comments

@mortinlojen3030
Copy link

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
Copy link
Member

vweevers commented Mar 2, 2024

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

@vweevers vweevers added question Support or open question(s) more information needed Further information is requested labels Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more information needed Further information is requested question Support or open question(s)
Projects
None yet
Development

No branches or pull requests

2 participants