File tree Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
22
22
} from '../error' ;
23
23
import type { ServerApi , SupportedNodeConnectionOptions } from '../mongo_client' ;
24
24
import { CancellationToken , TypedEventEmitter } from '../mongo_types' ;
25
- import type { ReadPreference , ReadPreferenceLike } from '../read_preference' ;
25
+ import type { ReadPreferenceLike } from '../read_preference' ;
26
26
import { applySession , ClientSession , updateSessionFromResponse } from '../sessions' ;
27
27
import {
28
28
calculateDurationInMs ,
@@ -68,23 +68,6 @@ const kAutoEncrypter = Symbol('autoEncrypter');
68
68
/** @internal */
69
69
const kDelayedTimeoutId = Symbol ( 'delayedTimeoutId' ) ;
70
70
71
- /** @internal */
72
- export interface QueryOptions extends BSONSerializeOptions {
73
- readPreference : ReadPreference ;
74
- documentsReturnedIn ?: string ;
75
- batchSize ?: number ;
76
- limit ?: number ;
77
- skip ?: number ;
78
- projection ?: Document ;
79
- tailable ?: boolean ;
80
- awaitData ?: boolean ;
81
- noCursorTimeout ?: boolean ;
82
- /** @deprecated use `noCursorTimeout` instead */
83
- timeout ?: boolean ;
84
- partial ?: boolean ;
85
- oplogReplay ?: boolean ;
86
- }
87
-
88
71
/** @internal */
89
72
export interface CommandOptions extends BSONSerializeOptions {
90
73
command ?: boolean ;
Original file line number Diff line number Diff line change @@ -237,8 +237,7 @@ export type {
237
237
ConnectionOptions ,
238
238
DestroyOptions ,
239
239
GetMoreOptions ,
240
- ProxyOptions ,
241
- QueryOptions
240
+ ProxyOptions
242
241
} from './cmap/connection' ;
243
242
export type {
244
243
CloseOptions ,
You can’t perform that action at this time.
0 commit comments