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(search): Set default dialect to 2 for Redis Search commands (#2895)
- The default dialect `DEFAULT_DIALECT` is now set to '2' - Automatically append DIALECT parameter to search commands when not explicitly specified
This commit is contained in:
@@ -5,7 +5,7 @@ export default {
|
||||
NOT_KEYED_COMMAND: SEARCH.NOT_KEYED_COMMAND,
|
||||
IS_READ_ONLY: SEARCH.IS_READ_ONLY,
|
||||
parseCommand(...args: Parameters<typeof SEARCH.parseCommand>) {
|
||||
SEARCH.parseCommand(...args);
|
||||
SEARCH.parseCommand(...args);
|
||||
args[0].push('NOCONTENT');
|
||||
},
|
||||
transformReply: {
|
||||
|
Reference in New Issue
Block a user