title: redis.lpush a number of items
body: <p>In my <code>node.js</code> script I have an array of strings, and I want to <code>LPUSH</code> these strings into a Redis queue. I tried:</p>
  
  <pre><code>var redis = require('redis').createClient();
  redis.lpush('queue', ['1', '2', '3'])
  </code></pre>
  
  <p>which results in a single string being pushed:</p>
  
  <pre><code>redis 127.0.0.1:6379&gt; lrange queue 0 -1
  1) "1,2,3"
  </code></pre>
  
  <p>Redis supports multiple values in <code>LPUSH</code> command, I am looking for help on utilizing this functionality. I am not asking how to loop over my array and push each item separately. :)</p>
  
  <p>EDIT:</p>
  
  <p>I know if I do this:</p>
  
  <pre><code>redis.lpush('queue', '1', '2', '3')
  </code></pre>
  
  <p>I get what I expect, but in my real application the array is generated at run time, and I do not know its contents.</p>