summaryrefslogtreecommitdiff
path: root/src/mongo/shell/session.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/session.js')
-rw-r--r--src/mongo/shell/session.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/shell/session.js b/src/mongo/shell/session.js
index f54a73bb186..7fa361db56b 100644
--- a/src/mongo/shell/session.js
+++ b/src/mongo/shell/session.js
@@ -471,17 +471,6 @@ var {
processCommandResponse(driverSession, client, res);
return res;
};
-
- this.runCommandWithMetadata = function runCommandWithMetadata(
- driverSession, dbName, metadata, cmdObj) {
- cmdObj = this.prepareCommandRequest(driverSession, cmdObj);
-
- const res = runClientFunctionWithRetries(
- driverSession, cmdObj, client.runCommandWithMetadata, [dbName, metadata, cmdObj]);
-
- processCommandResponse(driverSession, client, res);
- return res;
- };
}
function TransactionOptions(rawOptions = {}) {