Redis 8 · Keys and strings

Check if a key exists

Returns 1 if the key exists, 0 if not.

EXISTS greeting

Official Redis 8 documentation

More keys and strings commands

All keys and strings commands · Redis 8 cheatsheet

Was this page helpful?