Shankar Karuppiah
c913c06f46
Added documentation for disable_offline_queue option
...
Signed-off-by: DTrejo <david.trejo@voxer.com >
2012-07-05 19:04:19 -07:00
DTrejo
b60e001fa0
hmset throws/errors out on non-string values. fixes #218
2012-06-04 16:13:56 -07:00
DTrejo
65142cf8c0
[doc] missing key, fix #223
2012-06-04 10:26:12 -07:00
David Trejo
38e38c5e7c
readme: info on how to select a different db
2012-04-27 21:17:14 -04:00
David Trejo
0a732b8c0e
readme: warn that code in callbacks to commands in a multi are not atomic
2012-04-27 21:07:59 -04:00
David Trejo
710a705be2
readme: highlight js examples
2012-04-27 21:07:17 -04:00
Jed Schmidt
192784905b
Removed reference to individual args
argument
...
When the second argument of `send_command` is not an array, the following
error is thrown:
Error: send_command: second argument must be an array
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com >
2012-04-27 16:43:09 -04:00
David Trejo
625d5134e2
readme: add more contributors
2012-04-27 13:31:15 -04:00
David Trejo
e7e5a07594
readme: add a few missing contributors to the list
2012-04-23 19:45:06 -04:00
Philip Tellis
4f172ce713
remove duplicate "take either"
2012-04-23 17:11:02 -03:00
David Trejo
cd5db44f66
readme: how to correctly auth to server, what error looks like if done wrong
2012-03-05 17:31:47 -05:00
David Trejo
5afa763c89
readme code formatting
2012-03-05 15:31:43 -05:00
Matt Ranney
642df49924
Further document no_ready_check.
2011-11-16 17:26:58 -10:00
Matt Ranney
b9734d13eb
Add socket_nodelay option to control Nagle. Fixes [GH-33]
2011-11-16 11:12:26 -10:00
Matt Ranney
336030a33d
Fix documentation for detect_buffers.
2011-11-16 10:29:58 -10:00
Matt Ranney
461ed06fab
Doc update for [GH-148] fix.
2011-11-15 19:40:50 -10:00
Matt Ranney
edf46776a1
Merge remote-tracking branch 'dayananda/master'
...
Conflicts:
index.js
2011-11-15 19:40:24 -10:00
Matt Ranney
69092a3f26
[GH-67] - hgetall now returns null instead of {} on empty reply
2011-11-15 15:21:49 -10:00
Dayananda Nanjundappa
a6670edb9a
Support for retrieving data as Buffer on a per command basis
...
This is achieved by introducing a new option to the createClient method called bufferedInput.
If bufferedInput is set to true, then the returned data will be a Buffer if the command argument passed is a buffer
E.g.
var redis = require("redis"),
client = redis.createClient(<port>, <host>, {buffered_input: true});
client.set("foo_rand000000000000", "OK");
// The below get request will return a utf8 string
client.get("foo_rand000000000000", function (err, reply) {
console.log(reply.toString()); // Will print `OK`
});
// The below get request will return a Buffer as the key is specified as a Buffer
client.get(new Buffer("foo_rand000000000000"), function (err, reply) {
console.log(reply.toString()); // Will print `<Buffer 4f 4b>`
});
client.end();
2011-11-03 16:32:47 +05:30
Matt Ranney
04b4db8723
Mention EVAL.
2011-06-30 15:33:27 -06:00
Matt Ranney
bd21c73b81
Move usage example to the top.
2011-06-30 15:31:03 -06:00
Matt Ranney
68774e071c
Update description of hiredis and JS parser.
2011-06-30 15:27:49 -06:00
Matt Ranney
707c9ab3df
Add static list of commands to those downloaded from redis.io.
2011-06-28 22:48:30 -07:00
Matt Ranney
3d36711563
Auto update of new commands from redis.io (Dave Hoover)
...
Run this: node generate_commands.js
To fetch redis.io/commands.json and save it to a file that node_redis will read at startup.
2011-06-12 14:25:57 -10:00
Matt Ranney
f10ff9e916
Lots of bugs fixed.
...
* connection error did not properly trigger reconnection logic [GH-85]
* client.hmget(key, [val1, val2]) was not expanding properly [GH-66]
* client.quit() while in pub/sub mode would throw an error [GH-87]
* client.multi(['hmset', 'key', {foo: 'bar'}]) fails [GH-92]
2011-04-21 16:48:14 -10:00
Matt Ranney
2fcc947f11
Add MONITOR
command and special monitor command reply parsing.
2011-03-14 15:50:47 -10:00
Matt Ranney
1a14e24faa
Add magical auth command.
...
Authentication is now remembered by the client and will be automatically sent to the server
on every connection, including any reconnections.
2011-02-27 23:10:44 -10:00
Matt Ranney
99ae085e40
Document ready check changes.
2011-02-16 15:59:17 -10:00
Matt Ranney
8cf8c99763
Update Redis commands link to redis.io.
2011-02-11 00:35:20 -10:00
Matt Ranney
81ac292fce
Fix markdown indentation, I think.
2010-12-29 17:51:44 -08:00
Matt Ranney
ccce845cc2
Some bug fixes:
...
* An important bug fix in reconnection logic. Previously, reply callbacks would be invoked twice after
a reconnect.
* Changed error callback argument to be an actual Error object.
New feature:
* Add friendly syntax for HMSET using an object.
2010-12-29 17:48:40 -08:00
Matt Ranney
cfe0df1c3f
Remove warning about missing hiredis. You probably do want it though.
2010-12-08 18:42:07 -08:00
Matt Ranney
b81da6d8fc
Support for multiple response parsers and hiredis C library from Pieter Noordhuis.
...
Return Strings instead of Buffers by default.
Empty nested mb reply bug fix.
2010-12-08 16:15:45 -08:00
Matt Ranney
b907364573
Support for multiple reply parsers including hiredis.
...
Several parsing bugs fixed in JavaScript.
Some new config options that need to be better documented.
2010-12-06 09:11:16 -08:00
Matt Ranney
05e9699817
Fix for null MULTI response when WATCH condition fails.
2010-11-10 10:36:26 -08:00
Matt Ranney
1eb3f6a1aa
Add "drain" and "idle" events.
2010-11-09 13:13:40 -08:00
Matt Ranney
6bda787181
Bottom spacer.
2010-10-30 02:09:34 -07:00
Matt Ranney
b097bf2ccd
Add bottom spacer.
2010-10-30 02:08:49 -07:00
Matt Ranney
d51abad43f
Minor wording tweaks.
2010-10-30 01:40:09 -07:00
Matt Ranney
d0ffb47fbb
Update contributors info.
2010-10-02 16:35:18 -07:00
Matt Ranney
b4f5891da3
Draw attention to how awesome and trend-setting our speed techniques are.
2010-09-29 21:38:15 -07:00
Matt Ranney
8659ecda85
Update contributors info.
2010-09-27 21:55:49 -07:00
Matt Ranney
aab093848f
Put npm install instructions right up top.
2010-09-24 20:26:11 -07:00
Matt Ranney
85b0f6009d
Update documentation for awesome new MULTI syntax.
2010-09-24 14:03:08 -07:00
Matt Ranney
f239a32ce8
Bump README.md so Github will notice it.
2010-09-23 21:27:15 -07:00
Matt Ranney
a6bfae83b9
Docs and example of listening for "error" event.
2010-09-23 14:41:34 -07:00
Matt Ranney
abd76f8354
Update docs for end() and quit()
2010-09-23 12:21:02 -07:00
Matt Ranney
f4c7280fb6
Updated outlandish speed claims.
2010-09-23 09:32:54 -07:00
Matt Ranney
1ff6047b01
Update MULTI example and description.
2010-09-22 17:34:07 -07:00
Matt Ranney
6fac084ab8
Fix typo.
2010-09-22 10:28:25 -07:00