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

How to use the btree2v API for inserts and reads #11

Open
Ankithboggaram opened this issue Nov 26, 2023 · 0 comments
Open

How to use the btree2v API for inserts and reads #11

Ankithboggaram opened this issue Nov 26, 2023 · 0 comments

Comments

@Ankithboggaram
Copy link

Hello,

We are trying to integrate your btree2v into our project. We want to use the insert and read APIs, but we are not sure what values to pass to these functions:

extern uid bt_findkey  (BtDb *bt, unsigned char *key, uint len);
extern BTERR  bt_insertkey (BtDb *bt, unsigned char *key, uint len, uint lvl, uid id, uint tod);

As a user of the b-tree, we know the key and value but we are unsure as to how to use this API.
Your help would be much appreciated.

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

1 participant