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