(depth)
| 46 | } |
| 47 | |
| 48 | function buildNestedAndQuery(depth) { |
| 49 | let where = { username: 'test' }; |
| 50 | for (let i = 0; i < depth; i++) { |
| 51 | where = { $and: [where, { username: 'test' }] }; |
| 52 | } |
| 53 | return where; |
| 54 | } |
| 55 | |
| 56 | function buildNestedNorQuery(depth) { |
| 57 | let where = { username: 'test' }; |
no outgoing calls
no test coverage detected