1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Update documentation.

This commit is contained in:
Matt Ranney
2010-09-15 12:23:58 -07:00
parent 40b69a4204
commit c4b7c65530

View File

@@ -48,9 +48,9 @@ to `127.0.0.1`. If you have Redis running on the same computer as node, then th
### Sending Commands ### Sending Commands
Each Redis command is exposed as a function on the `client` object. Each Redis command is exposed as a function on the `client` object.
All functions take either take either `args` Array and `callback` Function or All functions take either take either an `args` Array plus optional `callback` Function or
a variable number of individual arguments followed by an optional callback. Here is an example of passing an array of arguments a variable number of individual arguments followed by an optional callback.
and a callback: Here is an example of passing an array of arguments and a callback:
client.mset(["test keys 1", "test val 1", "test keys 2", "test val 2"], function (err, res) {}); client.mset(["test keys 1", "test val 1", "test keys 2", "test val 2"], function (err, res) {});