We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bb0216 commit 8da7c75Copy full SHA for 8da7c75
src/mongo_client.ts
@@ -62,7 +62,7 @@ import {
62
type HostAddress,
63
hostMatchesWildcards,
64
isHostMatch,
65
- type MongoDBNamespace,
+ MongoDBNamespace,
66
noop,
67
ns,
68
resolveOptions,
@@ -793,6 +793,7 @@ export class MongoClient extends TypedEventEmitter<MongoClientEvents> implements
793
if (endSessions.length !== 0) {
794
try {
795
class EndSessionsOperation extends ModernizedOperation<void> {
796
+ override ns = MongoDBNamespace.fromString('admin.$cmd');
797
override SERVER_COMMAND_RESPONSE_TYPE = MongoDBResponse;
798
override buildCommand(_connection: Connection, _session?: ClientSession): Document {
799
return {
0 commit comments