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

Function find

src/rest.js:138–150  ·  view source on GitHub ↗
(config, auth, className, restWhere, restOptions, clientSDK, context)

Source from the content-addressed store, hash-verified

136
137// Returns a promise for an object with optional keys 'results' and 'count'.
138const find = async (config, auth, className, restWhere, restOptions, clientSDK, context) => {
139 enforceRoleSecurity('find', className, auth, config);
140 return runFindTriggers(
141 config,
142 auth,
143 className,
144 restWhere,
145 restOptions,
146 clientSDK,
147 context,
148 { isGet: false }
149 );
150};
151
152// get is just like find but only queries an objectId.
153const get = async (config, auth, className, objectId, restOptions, clientSDK, context) => {

Callers

nothing calls this directly

Calls 2

enforceRoleSecurityFunction · 0.85
runFindTriggersFunction · 0.85

Tested by

no test coverage detected