gledis
Types
Covers commonly used Redis commands with an escape hatch for custom commands or less used ones
pub type Query {
Keys(pattern: String)
Get(key: String)
Set(key: String, value: Argument)
Del(key: String)
Exists(key: String)
RandomKey
Custom(command: String, args: List(Argument))
}
Constructors
-
Keys(pattern: String)
-
Get(key: String)
-
Set(key: String, value: Argument)
-
Del(key: String)
-
Exists(key: String)
-
RandomKey
-
Custom(command: String, args: List(Argument))
This can causes crashes and should be avoided at all costs