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 {
2222} from '../error' ;
2323import type { ServerApi , SupportedNodeConnectionOptions } from '../mongo_client' ;
2424import { CancellationToken , TypedEventEmitter } from '../mongo_types' ;
25- import type { ReadPreference , ReadPreferenceLike } from '../read_preference' ;
25+ import type { ReadPreferenceLike } from '../read_preference' ;
2626import { applySession , ClientSession , updateSessionFromResponse } from '../sessions' ;
2727import {
2828 calculateDurationInMs ,
@@ -68,23 +68,6 @@ const kAutoEncrypter = Symbol('autoEncrypter');
6868/** @internal */
6969const kDelayedTimeoutId = Symbol ( 'delayedTimeoutId' ) ;
7070
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-
8871/** @internal */
8972export interface CommandOptions extends BSONSerializeOptions {
9073 command ?: boolean ;
Original file line number Diff line number Diff line change @@ -237,8 +237,7 @@ export type {
237237 ConnectionOptions ,
238238 DestroyOptions ,
239239 GetMoreOptions ,
240- ProxyOptions ,
241- QueryOptions
240+ ProxyOptions
242241} from './cmap/connection' ;
243242export type {
244243 CloseOptions ,
You can’t perform that action at this time.
0 commit comments