0
모든node_redis에서 매개 변수를 이해하는 방법은 무엇입니까?
내가 예/simple.js에서 node_redis을 공부하고는 다음과 같은 코드가있다 :
1 client.hset("hash key", "hashtest 1", "some value", redis.print);
2 client.hset(["hash key", "hashtest 2", "some other value"], redis.print);
3 client.hkeys("hash key", function (err, replies) {
4 console.log(replies.length + " replies:");
5 replies.forEach(function (reply, i) {
...
나는 혼란이 :
라인 (3) ERR (두 개의 매개 변수를 "왜 , 대답) "디자이너가 얼마나 많은 매개 변수를 정의합니까?
또는 어떤 책이나 다른 책을 읽어야하는지 알려주십시오. 미리 감사드립니다.
BEST 안부
PengCZ
감사합니다. 필요한 부분입니다. – abelard2008