Export to GitHub

redis - issue #378

[Feature Request] SADD/SREM support multiple members in one call


Posted on Nov 16, 2010 by Helpful Elephant

Allow multiple set members to be added/removed in one SADD/SREM call.

SADD key member1 [member2 ... memberN] SREM key member1 [member2 ... memberN]

I'll try and submit a patch myself if I can find the time.

Comment #1

Posted on Nov 16, 2010 by Massive Rabbit

SADD for multiple members was discussed http://groups.google.com/group/redis-db/browse_thread/thread/e766d84eb375cd41?pli=1

I filled in a bug about it http://code.google.com/p/redis/issues/detail?id=367 with a suggested implementation. May be you can check it out to see if it has a problem or if it works.

Comment #2

Posted on Nov 16, 2010 by Helpful Elephant

Ah, thanks. I looked through the issues, but hadn't seen the discussions yet. I'll definitely check it out.

Status: New

Labels:
Type-Defect Priority-Medium