redis_multi: Helper for Redis MULTI

Description Usage Arguments

Description

Helper to evaluate a Redis MULTI statement. If an error occurs then, DISCARD is called and the transaction is cancelled. Otherwise EXEC is called and the transaction is processed.

Usage

1
redis_multi(con, expr)

Arguments

con

A Redis connection object

expr

An expression to evaluate


redux documentation built on May 2, 2019, 1:42 p.m.