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

Function get

src/triggers.js:141–148  ·  view source on GitHub ↗
(category, name, applicationId)

Source from the content-addressed store, hash-verified

139}
140
141function get(category, name, applicationId) {
142 const lastComponent = name.split('.').splice(-1);
143 const store = getStore(category, name, applicationId);
144 if (!Object.prototype.hasOwnProperty.call(store, lastComponent)) {
145 return undefined;
146 }
147 return store[lastComponent];
148}
149
150export function addFunction(functionName, handler, validationHandler, applicationId) {
151 add(Category.Functions, functionName, handler, applicationId);

Callers 4

getTriggerFunction · 0.70
getFunctionFunction · 0.70
getJobFunction · 0.70
getValidatorFunction · 0.70

Calls 1

getStoreFunction · 0.85

Tested by

no test coverage detected