You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Sets the limit of documents returned in the query. */
23
26
limit?: number;
24
27
/** Set to sort the documents coming back from the query. Array of indexes, `[['a', 1]]` etc. */
25
28
sort?: Sort;
26
29
/** The fields to return in the query. Object of fields to either include or exclude (one of, not both), `{'a':1, 'b': 1}` **or** `{'a': 0, 'b': 0}` */
27
-
projection?: Projection<TSchema>;
30
+
projection?: Document;
28
31
/** Set to skip N documents ahead in your query (useful for pagination). */
29
32
skip?: number;
30
33
/** Tell the query to use specific indexes in the query. Object of indexes to use, `{'_id':1}` */
0 commit comments