1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-07-06 11:07:52 -04:00
parent 9e1ec97a55
commit 6ca420f15e
9 changed files with 45 additions and 44 deletions

View File

@@ -6,14 +6,14 @@ export default {
IS_READ_ONLY: true,
transformArguments(
key: RedisArgument,
cursor: number,
cursor: RedisArgument,
options?: ScanCommonOptions
) {
return pushScanArguments(['SSCAN', key], cursor, options);
},
transformReply([cursor, members]: [BlobStringReply, Array<BlobStringReply>]) {
return {
cursor: Number(cursor),
cursor,
members
};
}