stephan-hof / pyrocksdb

Python bindings for RocksDB
BSD 3-Clause "New" or "Revised" License
150 stars 169 forks source link

Support WriteBatch iterator #27

Closed Downchuck closed 9 years ago

Downchuck commented 9 years ago

WriteBatch is an iterable object, but that's not currently exposed through pyrocksdb. It seems to just be WriteBatch.iterate(handler) from Java and Perl examples.

Downchuck commented 9 years ago

Mis-titled this - I don't need the WriteBatchWithIndex option -- it's just standard WriteBatch, but it has an iterable.

stephan-hof commented 9 years ago

Fixed with https://github.com/stephan-hof/pyrocksdb/commit/302d1a64404d6b248cae543d11696302cf624fd5.