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

No updating value when key exists #18

Open
ian-g-holm-intel opened this issue Mar 30, 2017 · 1 comment
Open

No updating value when key exists #18

ian-g-holm-intel opened this issue Mar 30, 2017 · 1 comment

Comments

@ian-g-holm-intel
Copy link

Why is it that when I do a put with a key that already exists, it doesn't update the value for that key? Do I have to delete the old key/value before adding the new key/value?

@ian-g-holm-intel
Copy link
Author

It appears that my val is not getting written to the db. But the dbi.put is returning true. Is there something special you have to do to use lmdb::val?

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

No branches or pull requests

1 participant