redis_multi function

Helper for Redis MULTI

Helper for Redis MULTI

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.

redis_multi(con, expr)

Arguments

  • con: A Redis connection object
  • expr: An expression to evaluate
  • Maintainer: Rich FitzJohn
  • License: GPL-2
  • Last published: 2023-11-30