// Open the storage
DB* db = nullptr;
Options options;
// create the DB if it's not already present
options.create_if_missing = true;
DB::Open(options, "/speedb", &db);
// append new entry
std::string key = "key";
std::string val = "Speedb is awesome!";
db->Put(WriteOptions(), key, val);