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

Function checkTriggers

src/rest.js:19–23  ·  view source on GitHub ↗
(className, config, types)

Source from the content-addressed store, hash-verified

17const { createSanitizedError } = require('./Error');
18
19function checkTriggers(className, config, types) {
20 return types.some(triggerType => {
21 return triggers.getTrigger(className, triggers.Types[triggerType], config.applicationId);
22 });
23}
24
25function checkLiveQuery(className, config) {
26 return config.liveQueryController && config.liveQueryController.hasLiveQuery(className);

Callers 2

delFunction · 0.85
updateFunction · 0.85

Calls 1

getTriggerMethod · 0.80

Tested by

no test coverage detected