FishDB
is a key-value storage based on b-tree model.
make all
Instance operations:
BTree *bt = BTre::Open(dbfile);
...
bt->Close();
delete bt;
Key-value operations:
bt->Put('key', 'value');
Iterating over key space:
auto iter = bt->NewIterator();
for (iter->SeekToFirst(); iter->Valid(); iter->Next())
{
std::cout << iter->Key() << ": " << iter->Value() << std::endl;
}
delete iter;