Function sentry::db::redis_pool::cmd

pub fn cmd(name: &str) -> Cmd
Available on crate feature test-util only.
Expand description

Re-export redis::cmd for testing purposes Shortcut function to creating a command with a single argument.

The first argument of a redis command is always the name of the command which needs to be a string. This is the recommended way to start a command pipe.

redis::cmd("PING");