snehac-miner / redis

Automatically exported from code.google.com/p/redis
0 stars 0 forks source link

DEL operation... #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I noticed that DEL is in the section on string, when in reality it works
for all types.

Secondly, I also noticed the document says DEL _key_ where it really is 

DEL _KEY1_ _KEY2_ ...

and what is really returned is the count of the number of successful
deletes. Is this correct?

Original issue reported on code.google.com by eprparad...@gmail.com on 5 Jul 2009 at 6:53

GoogleCodeExporter commented 8 years ago
Yes you are absolutely correct, I should update the docs ASAP ;)

Original comment by anti...@gmail.com on 5 Jul 2009 at 6:58

GoogleCodeExporter commented 8 years ago
I see this is not corrected in the docs
(http://code.google.com/p/redis/wiki/DelCommand), and also it seems that JRedis 
does
not support multi-key delete operations.  It would be extra nice if you could 
pass a
glob pattern to DEL as well, e.g. DEL keyprefix*

Original comment by hypefi...@gmail.com on 30 Sep 2009 at 6:26

GoogleCodeExporter commented 8 years ago
sorry but globs are O(N), so the only exception made is for KEYS that is a "last
resort" command to migrate large datasets or for interactive hacking and 
debugging.

Original comment by anti...@gmail.com on 22 Oct 2009 at 11:42