LLEN with multiple list keys

60 views
Skip to first unread message

ezequie...@gmail.com

unread,
Sep 25, 2013, 2:24:46 PM9/25/13
to redi...@googlegroups.com
I wonder if exist the posibility to do LLEN in multiple keys list, like:

LLEN list:days:*

Best Regards.

Josiah Carlson

unread,
Sep 25, 2013, 8:59:45 PM9/25/13
to redi...@googlegroups.com
No. But you can use pipelines with or without MULTI/EXEC if you know all of your key names, or you can use Lua scripting.

That said, why do you want to get the lengths of lists by wildcard key? What are you trying to do?

 - Josiah


--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages