diff options
Diffstat (limited to '')
-rw-r--r-- | src/commands/smismember.json | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/commands/smismember.json b/src/commands/smismember.json new file mode 100644 index 0000000..cb4dd2e --- /dev/null +++ b/src/commands/smismember.json @@ -0,0 +1,49 @@ +{ + "SMISMEMBER": { + "summary": "Returns the membership associated with the given elements for a set", + "complexity": "O(N) where N is the number of elements being checked for membership", + "group": "set", + "since": "6.2.0", + "arity": -3, + "function": "smismemberCommand", + "command_flags": [ + "READONLY", + "FAST" + ], + "acl_categories": [ + "SET" + ], + "key_specs": [ + { + "flags": [ + "RO", + "ACCESS" + ], + "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", + "multiple": true + } + ] + } +} |