(depth, className = '_User')
| 22 | } |
| 23 | |
| 24 | function buildNestedSelect(depth, className = '_User') { |
| 25 | let where = {}; |
| 26 | for (let i = 0; i < depth; i++) { |
| 27 | where = { username: { $select: { query: { className, where }, key: 'username' } } }; |
| 28 | } |
| 29 | return where; |
| 30 | } |
| 31 | |
| 32 | function buildNestedDontSelect(depth, className = '_User') { |
| 33 | let where = {}; |
no outgoing calls
no test coverage detected