Skip to content

lmdb::dbi::open should take a string_view #5

Closed
@deepbluev7

Description

@deepbluev7

If you store the names of sub dbs in a db, you need to first convert them to a std::string and then call c_str() on it, to be able to pass it safely to dbi::open. Imo it should be possible to pass the string_view directly.

This is a small UX fix, otherwise I really enjoy using this library, thank you for maintaining it!

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