Skip to content

Native SDK overview

Barq Native is the C++ SDK for BarqDB. It builds on top of Barq Core.

Include the main SDK header:

#include <barq_native/sdk.hpp>
  • schemas with BARQ_SCHEMA
  • db_config
  • db
  • write transactions
  • managed objects
  • results
  • sync session APIs
struct Dog {
std::string name;
int64_t age;
};
BARQ_SCHEMA(Dog, name, age)