elbart / node-memcache

node.js memcached client
285 stars 64 forks source link

Add key existence detection function #24

Closed yesme closed 12 years ago

yesme commented 12 years ago

Add the key existence detection function by using CAS trick.

For some scenarios, user may want to check if a key exists without fetching the value blob back. This "exist" method is provided to fulfill this usage.

Thanks, Jacky