redis » flushDb(profile)
Description
This command is used to remove all keys from the current database.
Parameters
- profile - is the profile name with which
redis
database details are defined. (Refer here to know how to defineprofile
)
Example
Script:
Output: