Skip to content

Commit 67f3ee1

Browse files
Adding information about HEXPIRE
1 parent 3541d0e commit 67f3ee1

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

commands.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6888,6 +6888,67 @@
68886888
"allow_busy"
68896889
]
68906890
},
6891+
"HEXPIRE": {
6892+
"summary": "Set an expiration (TTL or time to live) on one or more fields of a given hash key.",
6893+
"since": "7.4.0",
6894+
"group": "connection",
6895+
"complexity": "O(N)",
6896+
"history": [
6897+
[
6898+
"7.4.0",
6899+
"Added HEXPIRE."
6900+
]
6901+
],
6902+
"acl_categories": [
6903+
"@write",
6904+
"@hash",
6905+
"@fast"
6906+
],
6907+
"arity": -4,
6908+
"key_specs": [
6909+
{
6910+
"begin_search": {
6911+
"type": "index",
6912+
"spec": {
6913+
"index": 1
6914+
}
6915+
},
6916+
"find_keys": {
6917+
"type": "range",
6918+
"spec": {
6919+
"lastkey": 0,
6920+
"keystep": 1,
6921+
"limit": 0
6922+
}
6923+
},
6924+
"RW": true,
6925+
"update": true
6926+
}
6927+
],
6928+
"arguments": [
6929+
{
6930+
"name": "key",
6931+
"type": "key",
6932+
"display_text": "key",
6933+
"key_spec_index": 0
6934+
},
6935+
{
6936+
"name": "field",
6937+
"type": "string",
6938+
"display_text": "field"
6939+
},
6940+
{
6941+
"name": "seconds",
6942+
"type": "integer",
6943+
"display_text": "seconds"
6944+
}
6945+
],
6946+
"command_flags": [
6947+
"write",
6948+
"denyoom",
6949+
"fast"
6950+
]
6951+
}
68916952
"HEXISTS": {
68926953
"summary": "Determines whether a field exists in a hash.",
68936954
"since": "2.0.0",

0 commit comments

Comments
 (0)