Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.
Josh Baker edited this page Oct 10, 2016 · 8 revisions

PDEL pattern

Removes all keys that match the specified pattern.

Return value

Integer reply: The number of keys that were removed.

Examples

redis> SET key1 "Hello"
OK
redis> SET key2 "World"
OK
redis> PDEL key*
(integer) 2
Clone this wiki locally