Speedb Quick Start Example
git clone https://github.com/speedb-io/speedb
cd speedb
make static_lib
cd examples
make speedb_is_awesome_example
./speedb_is_awesome_exampleCode examples
Full example can be found under https://github.com/speedb-io/speedb/blob/main/examples/speedb_is_awesome_example.cc
#include <iostream>
#include "rocksdb/db.h"
#include "rocksdb/options.h"
using namespace ROCKSDB_NAMESPACE;
#if defined(OS_WIN)
std::string kDBPath = "C:\\Windows\\TEMP\\speedb_is_awesome_example";
#else
std::string kDBPath = "/tmp/speedb_is_awesome_example";
#endifLast updated
Was this helpful?

