redis2-nginx-module icon indicating copy to clipboard operation
redis2-nginx-module copied to clipboard

Does it work with hset or zset commands?

Open hwongcom opened this issue 10 years ago • 3 comments

Does it work with hset or zset commands?

hwongcom avatar Dec 05 '14 16:12 hwongcom

@hwongcom It should. And also for any future redis commands. Because the redis 2.0 wire protocol is also forward-compatible.

agentzh avatar Dec 05 '14 19:12 agentzh

hi can you provide some example coding of it running in hset/zset?

hwongcom avatar Dec 17 '14 20:12 hwongcom

@hwongcom Just read the official redis command documentation: http://redis.io/commands/HSET

The syntax should be the same, for example,

    redis2_query hset myhash field1 "Hello";

agentzh avatar Dec 17 '14 22:12 agentzh