* D-LevelDB DateBase Object * * This is the main database object. This object connects to a Leveldb database. * * Copyright: Copyright © 2013 Byron Heads * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Byron Heads * * Example:
auto opt = new Options; opt.create_if_missing = true; auto db = new DB(opt, "/my/db/"); db.put(Slice("PI"), Slice.Ref!double(3.14)); double pi; enforce(db.get(Slice("PI"), pi)); assert(pi == 3.14);
* Todo: Add searching and transactions
LevelDB DB
See Source File
* D-LevelDB DateBase Object * * This is the main database object. This object connects to a Leveldb database. * * Copyright: Copyright © 2013 Byron Heads * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Byron Heads * * Example:
* Todo: Add searching and transactions