2016-01-20 12 views

回答

1

你当然可以。来自ioredis README, Basic Usage

// Arguments to commands are flattened, so the following are the same: 
redis.sadd('set', 1, 3, 5, 7); 
redis.sadd('set', [1, 3, 5, 7]); 
+0

是的。我完全错过了这一点。谢谢。 – afithings

相关问题