something is working

This commit is contained in:
quoije
2022-09-15 01:55:36 -04:00
parent a0aa251c27
commit f38e69883c
1123 changed files with 251731 additions and 11 deletions
+26
View 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.CommandOperation {
constructor(parent, command, options) {
super(parent, options);
this.options = options !== null && options !== void 0 ? options : {};
this.command = command;
}
execute(server, session, callback) {
const command = this.command;
this.executeCommand(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