You've already forked node-redis
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:
9
lib/commands/SMEMBERS.ts
Normal file
9
lib/commands/SMEMBERS.ts
Normal 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;
|
Reference in New Issue
Block a user