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

Revert "hmset throws/errors out on non-string values. fixes #218"

Reverting because this was a documentation problem, not a problem with
the code. Performance-wise, this is faster than the approach in #345, though
it may cause users more trouble. This is okay, if someone opens an issue we
can point them to the docs.

This reverts commit b60e001fa0.

Conflicts:

	index.js
	test.js
This commit is contained in:
DTrejo
2013-02-23 22:56:08 -05:00
parent a02b0f57e4
commit 405011b640
3 changed files with 1 additions and 27 deletions

View File

@@ -282,7 +282,7 @@ Output:
Multiple values in a hash can be set by supplying an object:
client.HMSET(key2, {
"0123456789": "abcdefghij", // NOTE: the key and value must both be strings
"0123456789": "abcdefghij", // NOTE: key and value will be coerced to strings
"some manner of key": "a type of value"
});