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

Function load

src/Controllers/SchemaController.js:1496–1500  ·  view source on GitHub ↗
(dbAdapter: StorageAdapter, options: any)

Source from the content-addressed store, hash-verified

1494
1495// Returns a promise for a new Schema.
1496const load = (dbAdapter: StorageAdapter, options: any): Promise<SchemaController> => {
1497 const schema = new SchemaController(dbAdapter);
1498 ttl.duration = dbAdapter.schemaCacheTtl;
1499 return schema.reloadData(options).then(() => schema);
1500};
1501
1502// Builds a new schema (in schema API response format) out of an
1503// existing mongo schema + a schemas API put request. This response

Callers

nothing calls this directly

Calls 1

reloadDataMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…