FLUSHDB
AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
Synopsis
FLUSHDBThis command deletes all keys from a database.
Return Value
Returns status string.
Examples
You can do this as shown below.
1. $ SET yuga1 "America"
1. "OK"
1. $ SET yuga2 "Africa"
1. "OK"
1. $ GET yuga1
1. "America"
1. $ GET yuga2
1. "Africa"
1. $ FLUSHDB
1. "OK"
1. $ GET yuga1
1. (null)
1. $ GET yuga2
1. (null)
