MCPcopy Create free account
hub / github.com/parse-community/parse-server / updateObject

Function updateObject

src/GraphQL/helpers/objectsMutations.js:12–20  ·  view source on GitHub ↗
(className, objectId, fields, config, auth, info)

Source from the content-addressed store, hash-verified

10};
11
12const updateObject = async (className, objectId, fields, config, auth, info) => {
13 if (!fields) {
14 fields = {};
15 }
16
17 return (
18 await rest.update(config, auth, className, { objectId }, fields, info.clientSDK, info.context)
19 ).response;
20};
21
22const deleteObject = async (className, objectId, config, auth, info) => {
23 await rest.del(config, auth, className, objectId, info.context);

Callers

nothing calls this directly

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…