MCPcopy Create free account
hub / github.com/parse-community/parse-server / beforeFind

Function beforeFind

spec/CloudCode.spec.js:4387–4393  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

4385 const user = await Parse.User.signUp('username', 'password');
4386 const hooks = {
4387 beforeFind(req) {
4388 expect(req).toBeDefined();
4389 expect(req.file).toBeDefined();
4390 expect(req.triggerName).toBe('beforeFind');
4391 expect(req.master).toBeFalse();
4392 expect(req.log).toBeDefined();
4393 },
4394 afterFind(req) {
4395 expect(req).toBeDefined();
4396 expect(req.file).toBeDefined();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…