Last Updated: February 25, 2016
·
3.666K
· tyler-king

Clear a list in Redis

DEL my_list_key

That's all you need to do. This will delete (aka clear) the list.

Redis is an advanced key-value system, therefore every item (lists, strings, sets, hashes, etc) has a key reference and can be deleted.

See DEL for more information.