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

Function create

src/rest.js:267–271  ·  view source on GitHub ↗
(config, auth, className, restObject, clientSDK, context)

Source from the content-addressed store, hash-verified

265
266// Returns a promise for a {response, status, location} object.
267function create(config, auth, className, restObject, clientSDK, context) {
268 enforceRoleSecurity('create', className, auth, config);
269 var write = new RestWrite(config, auth, className, null, restObject, null, clientSDK, context);
270 return write.execute();
271}
272
273// Returns a promise that contains the fields of the update that the
274// REST API is supposed to return.

Callers

nothing calls this directly

Calls 2

enforceRoleSecurityFunction · 0.85
executeMethod · 0.80

Tested by

no test coverage detected