oleiade / Elevator

Elevator is an open source, on-disk key-value store. Provides high-performance bulk read-write operations over very large datasets while exposing a simple and efficient API.
http://elevator.readthedocs.org
MIT License
71 stars 12 forks source link

Add an EXISTS command #161

Closed k4nar closed 10 years ago

k4nar commented 10 years ago

I think an EXISTS command would be very useful. Plyvel doesn't handle it out-of-the box, but it can be implemented quite simply using this tip. The main point is to avoid getting the value of the key.

oleiade commented 10 years ago

Okay, let's add an EXISTS command. I'll add it to the specification for latest versions and, this integration will be considered as a backport.

k4nar commented 10 years ago

Working on it.