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>Main Pieces
Section titled “Main Pieces”- schemas with
BARQ_SCHEMA db_configdb- write transactions
- managed objects
- results
- sync session APIs
Local Example
Section titled “Local Example”struct Dog { std::string name; int64_t age;};
BARQ_SCHEMA(Dog, name, age)