class

Redis::Transaction

Inherits Redis::Commands::Deferred < Redis::Commands < Redis::Commands::Vector < Redis::Commands::HyperLogLog < Redis::Commands::Geo < Redis::Commands::Stream < Redis::Commands::SortedSet < Redis::Commands::Set < Redis::Commands::List < Redis::Commands::Hash < Reference < Object

Constructors

new(connection : Connection)
Source

Instance methods

discard
Source
discarded?(*args, **options)
Source
discarded?(*args, **options, &)
Source
exec
Source
run(command) : Nil

Execute the given command and return the result from the server. Commands must be an Enumerable and its size method must be re-entrant.

run({"set", "foo", "bar"})
Source
start!
Source
status
Source

Nested types