Skip to content

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

Open
@Ankithboggaram

Description

@Ankithboggaram

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions