You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
Remove print helper
This commit is contained in:
committed by
Ruben Bridgewater
parent
47242b342a
commit
ce3227dedd
@@ -7,9 +7,9 @@ client.on('error', function (err) {
|
||||
console.log('error event - ' + client.host + ':' + client.port + ' - ' + err);
|
||||
});
|
||||
|
||||
client.set('string key', 'string val', redis.print);
|
||||
client.hset('hash key', 'hashtest 1', 'some value', redis.print);
|
||||
client.hset(['hash key', 'hashtest 2', 'some other value'], redis.print);
|
||||
client.set('string key', 'string val', console.log);
|
||||
client.hset('hash key', 'hashtest 1', 'some value', console.log);
|
||||
client.hset(['hash key', 'hashtest 2', 'some other value'], console.log);
|
||||
client.hkeys('hash key', function (err, replies) {
|
||||
if (err) {
|
||||
return console.error('error response - ' + err);
|
||||
|
Reference in New Issue
Block a user