Redis fetch all value of list without iteration and without popping <p>I have simple redis list key => "supplier_id"</p> <p>Now all I want it retrieve all value of list without actually iterating over or popping the value from list</p> <p>Example to retrieve all the value from a list Now I have iterate over redis length</p> <pre><code>element = [] 0.upto(redis.llen("supplier_id")-1) do |index| element &lt;&lt; redis.lindex("supplier_id",index) end </code></pre> <p>can this be done <strong>without the iteration</strong> perhap with better redis modelling . can anyone suggest</p>