1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-17 19:41:06 +03:00

add support for all set commands (including sScanIterator)

This commit is contained in:
leibale
2021-06-09 13:57:39 -04:00
parent b3eeb41f58
commit c15a8c4304
36 changed files with 729 additions and 28 deletions

9
lib/commands/SMEMBERS.ts Normal file
View File

@@ -0,0 +1,9 @@
import { transformReplyNumber, transformReplyStringArray } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
export function transformArguments(key: string): Array<string> {
return ['SMEMBERS', key];
}
export const transformReply = transformReplyStringArray;