redis » assertKeyExists(profile,key)
Description
This command is used to assert if the given key
exists in the database.
Parameters
- profile - is the profile name with which
redis
database connection details are defined. (Refer here to know how to defineprofile
) - key - is the key that is to be asserted if it exists in the given database.
Example
Script:
Output: