Commit Graph

13 Commits (89c33e9e30370bedf019cc8f81bf03fdcd9ba459)

Author SHA1 Message Date
Doug Coleman 89c33e9e30 forestdb.lib: Adding code to do compaction. 2014-11-10 19:10:35 -08:00
Doug Coleman 590cde5617 forestdb.ffi: Fix up api. 2014-11-07 15:33:48 -08:00
Doug Coleman c4be743bbe forestdb: Update for new api changes. Fix some unit tests, they look better now. 2014-11-07 13:06:53 -08:00
Doug Coleman bfd8771081 forestdb.lib: Must close with WAL commit or else data gets lost on next open. 2014-11-07 12:34:07 -08:00
Doug Coleman 24c6bbc2a8 forestdb.lib: iterator needs to call free on docs. 2014-11-07 02:23:19 -08:00
Doug Coleman 2f2cd7b299 forestdb.lib: fdb_doc has to be malloc'd. Iterators have to fdb_doc_free docs. Add with-doc and with-create-doc combinators. Unit testing fdb-get etc. 2014-11-07 01:56:37 -08:00
Doug Coleman 9348cb48ef forestdb.lib: Relax our expectations of ALIEN: slots and save other slots to doc tuple. 2014-11-06 20:20:39 -08:00
Doug Coleman ef743f3b90 forestdb: Add iteration by seq-num. Add tests for iteration by seq-num.
Document potential bugs.
2014-11-06 19:06:59 -08:00
Doug Coleman 76b14d1bea forestdb.ffi: Make fdb_iterator_opt_t its own type and remove comment.
forestdb.lib: Implement iterators and some related stuff.
Document possible bugs for now.
forestdb.lib-tests: Test iterators.
2014-11-06 18:33:51 -08:00
Doug Coleman 046e815a8c forestdb: Support snapshots and rollbacks, change how with-forestdb works. Unit test things. 2014-11-06 17:01:58 -08:00
Doug Coleman 0b72a51cb3 forestdb: Support more api calls. 2014-11-05 10:04:09 -08:00
Doug Coleman e5ee876dc5 forestdb.lib: use returned length since strings dont seem to be null terminated. 2014-11-04 00:39:05 -08:00
Doug Coleman 0cb9ae0fb4 forestdb: Make an ffi binding and a basic lib wrapper that can save a key/document and retrieve it by key. 2014-11-03 16:51:47 -08:00