(client: MongoClient)
| 28 | private metrics: QueryPerformanceMetrics; |
| 29 | |
| 30 | constructor(client: MongoClient) { |
| 31 | this.client = client; |
| 32 | this.metrics = { |
| 33 | queryCount: 0, |
| 34 | startTime: Date.now(), |
| 35 | queries: [] |
| 36 | }; |
| 37 | } |
| 38 | |
| 39 | private trackQuery(collection: string, operation: string) { |
| 40 | this.metrics.queryCount++; |
nothing calls this directly
no outgoing calls
no test coverage detected