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

Method _getHooks

src/Controllers/HooksController.js:73–80  ·  view source on GitHub ↗
(query = {})

Source from the content-addressed store, hash-verified

71 }
72
73 _getHooks(query = {}) {
74 return this.database.find(DefaultHooksCollectionName, query).then(results => {
75 return results.map(result => {
76 delete result.objectId;
77 return result;
78 });
79 });
80 }
81
82 _removeHooks(query) {
83 return this.database.destroy(DefaultHooksCollectionName, query).then(() => {

Callers 5

loadMethod · 0.95
getFunctionMethod · 0.95
getFunctionsMethod · 0.95
getTriggerMethod · 0.95
getTriggersMethod · 0.95

Calls 1

findMethod · 0.65

Tested by

no test coverage detected