leveldb
leveldb copied to clipboard
persistent db.DB implementation
I've been happily using the memdb implementation of db.DB and was wondering if
there's a persistent implementation of db.DB in the works?
Original issue reported on code.google.com by [email protected] on 23 Feb 2012 at 2:32
Yes, the top-level leveldb package is supposed to provide a persistent db.DB
implementation, but that package isn't finished yet.
Sorry for the late response, but I had a typo in my mail setup and wasn't
getting leveldb-go bug mail.
Original comment by [email protected] on 2 Aug 2012 at 1:47
- Changed state: Accepted
I'd like to work on this - specifically, I'm starting to add support for
CreateIfMissing first. I might fill documentation gaps too.
Original comment by [email protected] on 13 Oct 2012 at 10:46
Is there still no persistence?
Original comment by treeder on 21 Dec 2013 at 12:15
There is persistence now. You should be able to call leveldb.Open to open (or
create) a persistent database, and Get from and Set to it. Find doesn't work
yet, there's some optimization that needs doing, and the unit tests pass but
there may still be bugs in it.
Original comment by [email protected] on 23 Dec 2013 at 10:32