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 some missing commands
This commit is contained in:
11
lib/commands/GETBIT.ts
Normal file
11
lib/commands/GETBIT.ts
Normal 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;
|
Reference in New Issue
Block a user