sqlitemap — Persistent Map Backed by SQLite

Benno Waldhauer — Github: https://github.com/bw-hro/sqlitemap


sqlitemap is a lightweight C++ wrapper around SQLite that provides a simple, map-like interface. It’s designed to make working with key-value storage easy and convenient — similar to how sqlitedict works in the Python world.

sqlitemap is distributed under the MIT license, without any warranty.

Features

Example

#include <bw/sqlitemap/sqlitemap.hpp>

int main()
{
    bw::sqlitemap::sqlitemap db("example.db");

    db["hello"] = "world";
    std::string value = db["hello"];

    std::cout << value << std::endl;
}