redis MULTI command
Translation results:
multi
abbr.(Latin prefix=many or much) (Latin prefix) many; Von Willebrand factor multimer analysis Hemophilia factor multimer analysis (code); [Calculation][Microsoft]Check selection;[Civil]Multi-level pipe network system;[Atmosphere]Multi-band image;[Machine]Multi-layer corrugated pipe
redis MULTI commandsyntax
Function: Mark the beginning of a transaction block.
Syntax: MULTI
Description: Multiple commands in the transaction block will be put into a queue in order, and finally EXEC Commands are executed atomically.
Available versions: >= 1.2.0
Time complexity: O(1).
Return: Always returns OK.
redis MULTI commandexample
redis> MULTI # 标记事务开始 OK redis> INCR user_id # 多条命令按顺序入队 QUEUED redis> INCR user_id QUEUED redis> INCR user_id QUEUED redis> PING QUEUED redis> EXEC # 执行 1) (integer) 1 2) (integer) 2 3) (integer) 3 4) PONG
Popular Recommendations
- Writing Multi-threaded Applications in Java: A Comprehensive Guide
- Implementing ASP.NET Identity for a Multi-Tenant Application: Best Practices
- Crypto All-Stars: A Multi-Chain Approach to Meme Coins
- Ethereum Developers Agree to Multi-Phase Approach for 'Pectra' Upgrade
- Stashes Cryptosphere Announces Presale of $STSH Token with Multi-Chain Accessibility
- Super Champs Chain: A Multi-Layered Approach to Dominating Blockchain Gaming