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

add some missing commands

This commit is contained in:
leibale
2021-07-13 19:35:07 -04:00
parent bf44b0bf43
commit 4dca486a9c
43 changed files with 721 additions and 5 deletions

11
lib/commands/GETBIT.ts Normal file
View File

@@ -0,0 +1,11 @@
import { transformReplyBit } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
export const IS_READ_ONLY = true;
export function transformArguments(key: string, offset: number): Array<string> {
return ['GETBIT', key, offset.toString()];
}
export const transformReply = transformReplyBit;