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

Function getTrigger

src/triggers.js:212–217  ·  view source on GitHub ↗
(className, triggerType, applicationId)

Source from the content-addressed store, hash-verified

210}
211
212export function getTrigger(className, triggerType, applicationId) {
213 if (!applicationId) {
214 throw 'Missing ApplicationID';
215 }
216 return get(Category.Triggers, `${triggerType}.${className}`, applicationId);
217}
218
219export async function runTrigger(trigger, name, request, auth) {
220 if (!trigger) {

Callers 10

_onAfterDeleteMethod · 0.90
_onAfterSaveMethod · 0.90
_handleConnectMethod · 0.90
_handleSubscribeMethod · 0.90
triggerExistsFunction · 0.85
maybeRunAfterFindTriggerFunction · 0.85
maybeRunQueryTriggerFunction · 0.85
maybeRunTriggerFunction · 0.85
maybeRunFileTriggerFunction · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected