Add minimum version information to new xsetid arguments (#11694)

the metadata for the new arguments of XSETID,
entries-added and max-deleted-id, which have been added
in Redis 7.0 was missing.
This commit is contained in:
knggk 2023-01-10 02:09:51 -05:00 committed by GitHub
parent 2bec254d89
commit 44c6770372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -6676,8 +6676,8 @@ commandHistory XSETID_History[] = {
struct redisCommandArg XSETID_Args[] = {
{"key",ARG_TYPE_KEY,0,NULL,NULL,NULL,CMD_ARG_NONE},
{"last-id",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
{"entries-added",ARG_TYPE_INTEGER,-1,"ENTRIESADDED",NULL,NULL,CMD_ARG_OPTIONAL},
{"max-deleted-id",ARG_TYPE_STRING,-1,"MAXDELETEDID",NULL,NULL,CMD_ARG_OPTIONAL},
{"entries-added",ARG_TYPE_INTEGER,-1,"ENTRIESADDED",NULL,"7.0.0",CMD_ARG_OPTIONAL},
{"max-deleted-id",ARG_TYPE_STRING,-1,"MAXDELETEDID",NULL,"7.0.0",CMD_ARG_OPTIONAL},
{0}
};

View File

@ -54,13 +54,15 @@
"name": "entries-added",
"token": "ENTRIESADDED",
"type": "integer",
"optional": true
"optional": true,
"since": "7.0.0"
},
{
"name": "max-deleted-id",
"token": "MAXDELETEDID",
"type": "string",
"optional": true
"optional": true,
"since": "7.0.0"
}
]
}