MCPcopy Index your code
hub / github.com/parse-community/parse-server / buildNestedInQuery

Function buildNestedInQuery

spec/RequestComplexity.spec.js:8–14  ·  view source on GitHub ↗
(depth, className = '_User')

Source from the content-addressed store, hash-verified

6
7describe('request complexity', () => {
8 function buildNestedInQuery(depth, className = '_User') {
9 let where = {};
10 for (let i = 0; i < depth; i++) {
11 where = { username: { $inQuery: { className, where } } };
12 }
13 return where;
14 }
15
16 function buildNestedNotInQuery(depth, className = '_User') {
17 let where = {};

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected