diff options
Diffstat (limited to 'src/commands/sismember.json')
-rw-r--r-- | src/commands/sismember.json | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/commands/sismember.json b/src/commands/sismember.json new file mode 100644 index 0000000..7a814b8 --- /dev/null +++ b/src/commands/sismember.json @@ -0,0 +1,47 @@ +{ + "SISMEMBER": { + "summary": "Determine if a given value is a member of a set", + "complexity": "O(1)", + "group": "set", + "since": "1.0.0", + "arity": 3, + "function": "sismemberCommand", + "command_flags": [ + "READONLY", + "FAST" + ], + "acl_categories": [ + "SET" + ], + "key_specs": [ + { + "flags": [ + "RO" + ], + "begin_search": { + "index": { + "pos": 1 + } + }, + "find_keys": { + "range": { + "lastkey": 0, + "step": 1, + "limit": 0 + } + } + } + ], + "arguments": [ + { + "name": "key", + "type": "key", + "key_spec_index": 0 + }, + { + "name": "member", + "type": "string" + } + ] + } +} |