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

Function createObject

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

Source from the content-addressed store, hash-verified

1import rest from '../../rest';
2
3const createObject = async (className, fields, config, auth, info) => {
4 if (!fields) {
5 fields = {};
6 }
7
8 return (await rest.create(config, auth, className, fields, info.clientSDK, info.context))
9 .response;
10};
11
12const updateObject = async (className, objectId, fields, config, auth, info) => {
13 if (!fields) {

Callers

nothing calls this directly

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…