Maybe I'm missing something, but the options are not passed further in the findOne
| findOne=async( |
| query: Filter<T>={}, |
| options: GeneralRequestOptions={}, |
| ): Promise<T|null>=>{ |
| constcollection=awaitthis.getCollection(); |
| |
| query=this.addQueryDefaults(query,options); |
| this.validateQuery(query,options); |
| |
| returncollection.findOne<T>(query); |
| }; |
Maybe I'm missing something, but the options are not passed further in the findOne
node-mongo/src/service.ts
Lines 163 to 173 in 3274b65