Is there a command does similar to MGET + GETRANGE ?

9 views
Skip to first unread message

Austin Kuo

unread,
Sep 8, 2016, 4:39:49 AM9/8/16
to Redis DB
As title,

I'm looking for a command that's multiple get range, its signature would be like (key[], start[], end[]).
If there's no such a command, how can I add one?

Thanks

Itamar Haber

unread,
Sep 8, 2016, 4:55:19 AM9/8/16
to Redis DB

Hi Austin,

Such a command does not exist, but you can compose it with a Lua script - read about the `EVAL` command: http://redis.io/commands/eval


--
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+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages