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

Function get

src/rest.js:153–165  ·  view source on GitHub ↗
(config, auth, className, objectId, restOptions, clientSDK, context)

Source from the content-addressed store, hash-verified

151
152// get is just like find but only queries an objectId.
153const get = async (config, auth, className, objectId, restOptions, clientSDK, context) => {
154 enforceRoleSecurity('get', className, auth, config);
155 return runFindTriggers(
156 config,
157 auth,
158 className,
159 { objectId },
160 restOptions,
161 clientSDK,
162 context,
163 { isGet: true }
164 );
165};
166
167// Returns a promise that doesn't resolve to any useful value.
168function del(config, auth, className, objectId, context) {

Callers

nothing calls this directly

Calls 2

enforceRoleSecurityFunction · 0.85
runFindTriggersFunction · 0.85

Tested by

no test coverage detected