Merge pull request #9 from tair-opensource/add-trans

feat: add support for transaction
This commit is contained in:
bodong.ybd 2023-07-28 09:21:32 +08:00 committed by GitHub
commit ade5558753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 73 additions and 0 deletions

View File

@ -5248,5 +5248,78 @@
"OK" "OK"
], ],
"since": "4.0.0" "since": "4.0.0"
},
{
"name": "discard command",
"command": [
"multi",
"set k v",
"discard"
],
"result": [
"OK",
"QUEUED",
"OK"
],
"since": "2.0.0"
},
{
"name": "exec command",
"command": [
"multi",
"set k v",
"exec"
],
"result": [
"OK",
"QUEUED",
[
"OK"
]
],
"since": "1.2.0"
},
{
"name": "multi command",
"command": [
"multi",
"set k v",
"discard"
],
"result": [
"OK",
"QUEUED",
"OK"
],
"since": "1.2.0"
},
{
"name": "unwatch command",
"command": [
"watch key",
"unwatch"
],
"result": [
"OK",
"True"
],
"since": "2.2.0"
},
{
"name": "watch command",
"command": [
"watch key",
"unwatch"
],
"result": [
"OK",
"True"
],
"since": "2.2.0"
} }
] ]