You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
feat: added support for new bitop operations (#3001)
refactored bitop tests, covered all operations updated default docker version on all packages
This commit is contained in:
@@ -2,14 +2,14 @@ import { CommandParser } from '../client/parser';
|
||||
import { NumberReply, Command, RedisArgument } from '../RESP/types';
|
||||
import { RedisVariadicArgument } from './generic-transformers';
|
||||
|
||||
export type BitOperations = 'AND' | 'OR' | 'XOR' | 'NOT';
|
||||
export type BitOperations = 'AND' | 'OR' | 'XOR' | 'NOT' | 'DIFF' | 'DIFF1' | 'ANDOR' | 'ONE';
|
||||
|
||||
export default {
|
||||
IS_READ_ONLY: false,
|
||||
/**
|
||||
* Performs bitwise operations between strings
|
||||
* @param parser - The Redis command parser
|
||||
* @param operation - Bitwise operation to perform: AND, OR, XOR, NOT
|
||||
* @param operation - Bitwise operation to perform: AND, OR, XOR, NOT, DIFF, DIFF1, ANDOR, ONE
|
||||
* @param destKey - Destination key to store the result
|
||||
* @param key - Source key(s) to perform operation on
|
||||
*/
|
||||
|
Reference in New Issue
Block a user