(Redis) Remove all elements from a list
Options
![mauromequelussi](https://us.v-cdn.net/6037124/uploads/userpics/LE9FA7GMAN3U/nHAQX35BAVQDE.png)
mauromequelussi
Member ✭
How do I remove all elements from a list without having to loop to remove item by item? It's possible?
Another thing I noticed is that the "Remove From List" function in redis doesn't have the option to put a name in the return variable.
Tagged:
Best Answer
-
Hey @Mauro Mequelussi-40201 - you are correct there is no Remove All From List and the Remove from list does not have not a return variable. You'd have to use a Get from List before that.
I can definitely see how these would be useful. If you add it to our feature request board then we can track it people can upvote it for a potential new feature.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback