MCPcopy
hub / github.com/parse-community/parse-server / buildNestedSelect

Function buildNestedSelect

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

Source from the content-addressed store, hash-verified

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 = {};

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected