You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Add support for camelCase
Fixes missing `EXEC_BATCH` on multi
This commit is contained in:
@@ -70,7 +70,7 @@ function pipeline_transaction_command (self, command, args, index, cb) {
|
||||
});
|
||||
}
|
||||
|
||||
Multi.prototype.exec_atomic = function exec_atomic (callback) {
|
||||
Multi.prototype.exec_atomic = Multi.prototype.EXEC_ATOMIC = Multi.prototype.execAtomic = function exec_atomic (callback) {
|
||||
if (this.queue.length < 2) {
|
||||
return this.exec_batch(callback);
|
||||
}
|
||||
|
Reference in New Issue
Block a user