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

implement a couple of more commands, make cluster random iterator be per node (instead of per slot)

This commit is contained in:
leibale
2021-06-24 18:25:19 -04:00
parent bfacde3ae4
commit b6cd2b36e7
15 changed files with 282 additions and 14 deletions

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

@@ -0,0 +1,9 @@
export const IS_READ_ONLY = true;
export function transformArguments(): Array<string> {
return ['LASTSAVE'];
}
export function transformReply(reply: number): Date {
return new Date(reply);
}