Skip to content

Feature request: Add ability to specify MDB_INTEGERKEY, MDB_INTEGERDUP and MDB_DUPFIXED flags #63

@yds

Description

@yds

would it be possible for txn:db_open(create, db?) to get a few more parameters to enable using LMDB native integer keys?

something similar to this patch for the py-lmdb project:
jnwatson/py-lmdb@d3fc35a

perhaps something like this:

txn:db_open(create, db?, integerkey?, integerdup?, dupfixed?)

with each of the new optional parameters defaulting to false

I would submit a pull request if it were not above my pay grade ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions