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

Get number of k/v stored in database #131

Open
mdorier opened this issue Aug 9, 2021 · 1 comment
Open

Get number of k/v stored in database #131

mdorier opened this issue Aug 9, 2021 · 1 comment

Comments

@mdorier
Copy link
Contributor

mdorier commented Aug 9, 2021

When using the C unqlite_kv_* functions, is there a way to know the number of keys currently stored in the database?

@symisc
Copy link
Owner

symisc commented Aug 10, 2021

You can rely on the UnQLite Cursors Interfaces and increment your counter on each valid entry.

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