This class allows access to YottaDB-trees (persistent and in-memory) like accessing a C++-tree (multidimensional array).
_global[1][2]["foo"] = "bar";
cout << _global[1][2]["foo"]
YottaDB hierarchical NoSQL-database https://yottadb.com/
If using named objects name the object like the global (but with a preceding underscore instead of caret). Mapping an object to the global name is done via the constructor.
c_ydb_global _g("^g"), _counter("^counter");
- set the external declared variable ydb_global_throw_error to a value not zero so the dangerous methods will throw errors.
- Otherwise error-processing is done by the method
int last_error();
which can be called after each method-call.
This project is licensed under the terms of the MIT license.