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

Function create

spec/ParseLiveQuery.spec.js:360–364  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

358 const subscription = await query.subscribe();
359 const spy = {
360 create(obj) {
361 if (!obj.get('yolo')) {
362 fail('create should not have been called');
363 }
364 },
365 update(object, original) {
366 if (object.get('yolo') === original.get('yolo')) {
367 fail('create should not have been called');

Callers

nothing calls this directly

Calls 2

failFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected