Getting multiple key values from Redis

前端 未结 2 2030
遇见更好的自我
遇见更好的自我 2020-12-25 12:58

I\'m currently playing around with Redis and i\'ve got a few questions. Is it possible to get values from an array of keys?

Example:

users:1:name \"d         


        
2条回答
  •  醉话见心
    2020-12-25 14:01

    You can use Redis' EVAL command to send it a Lua script that runs a loop "server side" and return the results in a block.

提交回复
热议问题