MCPcopy
hub / github.com/strongloop/loopback / update

Function update

test/change.test.js:276–285  ·  view source on GitHub ↗
(next)

Source from the content-addressed store, hash-verified

274 }
275
276 function update(next) {
277 const model = test.model;
278
279 model.name += 'updated';
280 model.save(function(err) {
281 test.revisionForModel = Change.revisionForInst(model);
282
283 next(err);
284 });
285 }
286 });
287
288 it('should not change checkpoint when rev is the same', function(done) {

Callers

nothing calls this directly

Calls 1

nextFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…