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

Function buildNestedNorQuery

spec/RequestComplexity.spec.js:56–62  ·  view source on GitHub ↗
(depth)

Source from the content-addressed store, hash-verified

54 }
55
56 function buildNestedNorQuery(depth) {
57 let where = { username: 'test' };
58 for (let i = 0; i < depth; i++) {
59 where = { $nor: [where, { username: 'test' }] };
60 }
61 return where;
62 }
63
64 describe('config validation', () => {
65 it('should accept valid requestComplexity config', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected