@@ -19,7 +19,7 @@ import type { Collection } from '../collection';
19
19
import type { Topology } from '../sdam/topology' ;
20
20
import type { CommandOperationOptions , CollationOptions } from '../operations/command' ;
21
21
import type { Hint } from '../operations/operation' ;
22
- import type { Query } from '../mongo_types' ;
22
+ import type { Filter } from '../mongo_types' ;
23
23
24
24
/** @public */
25
25
export const BatchType = {
@@ -40,7 +40,7 @@ export interface InsertOneModel<TSchema> {
40
40
/** @public */
41
41
export interface DeleteOneModel < TSchema > {
42
42
/** The filter to limit the deleted documents. */
43
- filter : Query < TSchema > ;
43
+ filter : Filter < TSchema > ;
44
44
/** Specifies a collation. */
45
45
collation ?: CollationOptions ;
46
46
/** The index to use. If specified, then the query system will only consider plans using the hinted index. */
@@ -50,7 +50,7 @@ export interface DeleteOneModel<TSchema> {
50
50
/** @public */
51
51
export interface DeleteManyModel < TSchema > {
52
52
/** The filter to limit the deleted documents. */
53
- filter : Query < TSchema > ;
53
+ filter : Filter < TSchema > ;
54
54
/** Specifies a collation. */
55
55
collation ?: CollationOptions ;
56
56
/** The index to use. If specified, then the query system will only consider plans using the hinted index. */
@@ -60,7 +60,7 @@ export interface DeleteManyModel<TSchema> {
60
60
/** @public */
61
61
export interface ReplaceOneModel < TSchema > {
62
62
/** The filter to limit the replaced document. */
63
- filter : Query < TSchema > ;
63
+ filter : Filter < TSchema > ;
64
64
/** The document with which to replace the matched document. */
65
65
replacement : TSchema ;
66
66
/** Specifies a collation. */
0 commit comments