Commit Graph

17 Commits

Author SHA1 Message Date
Xie Yanbo bd0e208256 add proc getOrDefault 2020-02-27 20:31:06 +08:00
Xie Yanbo 6a64213af5 tool rename
The tool app name changed from `leveldb` to `leveldbtool` considering
the following reasons:

* `leveldb` looks like an official app, but it's not.
* It is confusing when binary has a name as same as the library, so nimble
  warned about hybrid projects.
* The new sketch of the binary project offered by nimble does not include
  `bin` directory.
2020-02-24 23:53:44 +08:00
Xie Yanbo 39d911be0c sugar not in nim 0.18.0 2020-02-23 22:12:56 +08:00
Xie Yanbo 75ab9bbb47 test tool 2020-02-23 22:12:55 +08:00
Xie Yanbo ba45990676 test package 2020-02-23 22:12:02 +08:00
Colin Coombs 533d4ed7e8 Transform leveldb into a 'hybrid' package
This allows users to use leveldb databases in their own nim programs.
2020-02-18 16:53:39 +08:00
Xie Yanbo c758236822 fix empty string 2020-02-15 18:43:26 +08:00
Xie Yanbo 115c7a3780 compress 2020-02-13 16:21:50 +08:00
Xie Yanbo 6b87da8cc3 more options 2020-02-13 16:21:50 +08:00
Xie Yanbo 74ae934f94 test repairDb 2020-02-13 16:21:38 +08:00
Xie Yanbo ebc0544b8f support cache option 2019-12-14 18:14:04 +08:00
Xie Yanbo 594a5deb83 add batch procedure 2019-12-14 18:13:04 +08:00
Xie Yanbo f06f932669 fix: fixed length string with terminating character 2019-11-16 20:24:33 +08:00
Xie Yanbo 177190b311 Iterates with range of keys 2019-11-16 17:42:48 +08:00
Xie Yanbo f63abb769a Iterates with the prefix of keys 2019-11-16 17:42:40 +08:00
Xie Yanbo 8c215d13a3 add command line tool and bump verion to 0.3.0
* breaking change: rename `version` to `getLibVersion`
* add `repaireDb`
* fix `get` bug
2019-11-11 01:42:01 +08:00
Xie Yanbo 90d176e0fa nimble package 2019-11-10 11:32:48 +08:00