You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-19 07:02:06 +03:00
add some missing commands
This commit is contained in:
9
lib/commands/SETBIT.ts
Normal file
9
lib/commands/SETBIT.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { BitValue, transformReplyBit } from './generic-transformers';
|
||||
|
||||
export const FIRST_KEY_INDEX = 1;
|
||||
|
||||
export function transformArguments(key: string, offset: number, value: BitValue) {
|
||||
return ['SETBIT', key, offset.toString(), value.toString()];
|
||||
}
|
||||
|
||||
export const transformReply = transformReplyBit;
|
Reference in New Issue
Block a user