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

ordered-binary values format #249

Open
morteza102030 opened this issue Jul 2, 2023 · 1 comment
Open

ordered-binary values format #249

morteza102030 opened this issue Jul 2, 2023 · 1 comment

Comments

@morteza102030
Copy link

hello
i have some problem in saving data


const db = open({
    path: '/db/2-db',
	dupSort: true,
	encoding: 'ordered-binary',
})
let text = prance 🧚🏻‍♀️🩷
db.put('key', text)
console.log(db.get('key'))

but i get this after saving
prance �𝿻�‍♀️��

kriszyp added a commit to kriszyp/ordered-binary that referenced this issue Jul 3, 2023
@kriszyp
Copy link
Owner

kriszyp commented Jul 3, 2023

Nice catch, thank you. This should be fixed in [email protected] (I haven't updated lmdb-js yet to require this, but the version range allows this version).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants