1
0
mirror of https://github.com/redis/node-redis.git synced 2026-01-12 11:03:15 +03:00

Adds example for mixing arbitrary and supported commands in a transaction context. (#2315)

* Adds example for transactions with arbitrary commands.

* Formatting.

* Update transaction-with-arbitrary-commands.js

Co-authored-by: Leibale Eidelman <me@leibale.com>
This commit is contained in:
Simon Prickett
2023-01-18 17:59:04 +00:00
committed by GitHub
parent 63511e5b9b
commit fa47b572d4
2 changed files with 41 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ This folder contains example scripts showing how to use Node Redis in different
| `time-series.js` | Create, populate and query timeseries data with [Redis Timeseries](https://redistimeseries.io). |
| `topk.js` | Use the [RedisBloom](https://redisbloom.io) TopK to track the most frequently seen items. |
| `stream-consumer-group.js` | Reads entries from a [Redis Stream](https://redis.io/topics/streams-intro) as part of a consumer group using the blocking `XREADGROUP` command. |
| `tranaaction-with-arbitrary-commands.js` | Mix and match supported commands with arbitrary command strings in a Redis transaction. |
| `transaction-with-arbitrary-commands.js` | Mix and match supported commands with arbitrary command strings in a Redis transaction. |
| `transaction-with-watch.js` | An Example of [Redis transaction](https://redis.io/docs/manual/transactions) with `WATCH` command on isolated connection with optimistic locking. |
## Contributing