Browse files

more documentation added to README.

  • Loading branch information...
1 parent 321f732 commit 5c35c02f3d41d1ca4736335b256a2c21e725f566 @agentzh agentzh committed Apr 4, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 README
@@ -84,6 +84,10 @@ Description
redis2_query arg1 arg2 ...
+ Specify a redis command by specifying its individual arguments
+ (including the redis command name itself) in a
+ similar way to the redis-cli utility.
Multiple instances of this directive are allowd in
a single location and these queries will be pipelined.
@@ -107,6 +111,11 @@ Directives
Specify raw redis queries and nginx variables are recognized
in the CMD argument.
+ Only one redis command is allowed in the CMD argument, or
+ you'll receive an error. If you want to specify multiple
+ pipelined commands in a single query, use the redis2_raw_queries
+ directive instead.
redis2_raw_queries N CMDS
Specify N commands in the CMDS argument. Both the N and CMDS
arguments can take nginx variables.
@@ -136,6 +145,8 @@ Directives
that is to say, you're free to use the dollar sign characters ($)
in your CMD argument.
+ Only one redis command is allowed in the CMD argument.

0 comments on commit 5c35c02

Please sign in to comment.