UNLINK

Syntax

1. UNLINK key [key ...]

Time complexity: O(N) where N is the number of keys that will be removed.

This command is equivalent to DEL command, see DEL for more information.

Return

Integer reply: The number of keys that were unlinked.

Examples

1. dragonfly> SET key1 "Hello"
2. "OK"
3. dragonfly> SET key2 "World"
4. "OK"
5. dragonfly> UNLINK key1 key2 key3
6. (integer) 2