(depth)
| 38 | } |
| 39 | |
| 40 | function buildNestedOrQuery(depth) { |
| 41 | let where = { username: 'test' }; |
| 42 | for (let i = 0; i < depth; i++) { |
| 43 | where = { $or: [where, { username: 'test' }] }; |
| 44 | } |
| 45 | return where; |
| 46 | } |
| 47 | |
| 48 | function buildNestedAndQuery(depth) { |
| 49 | let where = { username: 'test' }; |
no outgoing calls
no test coverage detected