flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
26
VISUALIZACION/node_modules/mongodb/lib/operations/run_command.js
generated
vendored
Executable file
26
VISUALIZACION/node_modules/mongodb/lib/operations/run_command.js
generated
vendored
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.RunAdminCommandOperation = exports.RunCommandOperation = void 0;
|
||||
const utils_1 = require("../utils");
|
||||
const command_1 = require("./command");
|
||||
/** @internal */
|
||||
class RunCommandOperation extends command_1.CommandCallbackOperation {
|
||||
constructor(parent, command, options) {
|
||||
super(parent, options);
|
||||
this.options = options ?? {};
|
||||
this.command = command;
|
||||
}
|
||||
executeCallback(server, session, callback) {
|
||||
const command = this.command;
|
||||
this.executeCommandCallback(server, session, command, callback);
|
||||
}
|
||||
}
|
||||
exports.RunCommandOperation = RunCommandOperation;
|
||||
class RunAdminCommandOperation extends RunCommandOperation {
|
||||
constructor(parent, command, options) {
|
||||
super(parent, command, options);
|
||||
this.ns = new utils_1.MongoDBNamespace('admin');
|
||||
}
|
||||
}
|
||||
exports.RunAdminCommandOperation = RunAdminCommandOperation;
|
||||
//# sourceMappingURL=run_command.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue