Redix.transaction_pipeline-exclamation-mark
You're seeing just the function
transaction_pipeline-exclamation-mark
, go back to Redix module for more information.
Link to this function
transaction_pipeline!(conn, commands, options \\ [])
View Source (since 0.8.0)Specs
transaction_pipeline!(connection(), [command()], keyword()) :: [ Redix.Protocol.redis_value() ]
Executes a MULTI
/EXEC
transaction.
Same as transaction_pipeline/3
, but returns the result directly instead of wrapping it
in an {:ok, result}
tuple or raises if there's an error.
This function accepts the same options as pipeline/3
.
Examples
iex> Redix.transaction_pipeline!(conn, [["SET", "mykey", "foo"], ["GET", "mykey"]])
["OK", "foo"]