redis_multi: Helper for Redis MULTI

Description Usage Arguments

View source: R/redis_tools.R

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 Jan. 12, 2022, 5:09 p.m.