support for incr operation for lmdb/leveldb