M
M
McFkr2019-08-21 14:29:04
NoSQL
McFkr, 2019-08-21 14:29:04

How to get multiple values ​​from a list in one query?

I put values ​​in the list with the rpush command.
There is an option to get lpop, but here there is only 1 element for one request. You can also hang a cycle, but I would not want to create a lot of requests.
LRANGE is not offered. as it only reads but does not delete.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question