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

Function deleteHandler

lib/persisted-model.js:1911–1918  ·  view source on GitHub ↗
(ctx, next)

Source from the content-addressed store, hash-verified

1909 }
1910
1911 function deleteHandler(ctx, next) {
1912 const change = createChangeObject(ctx, 'delete');
1913 if (change) {
1914 changes.write(change);
1915 }
1916
1917 next();
1918 }
1919
1920 function createChangeObject(ctx, type) {
1921 const where = ctx.where;

Callers

nothing calls this directly

Calls 2

createChangeObjectFunction · 0.85
nextFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…