PTTL

    • The command returns if the key does not exist.
    1. dragonfly> SET mykey "Hello"
    2. dragonfly> EXPIRE mykey 1
    3. (integer) 1
    4. (integer) 1000