MCPcopy Create free account
hub / github.com/dresende/node-orm2 / afterSave

Function afterSave

test/integration/model-save.js:215–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213 describe("default on in settings", function () {
214 beforeEach(function (done) {
215 function afterSave () {
216 afterSaveCalled = true;
217 }
218 var hooks = { afterSave: afterSave };
219
220 setup(null, { hooks: hooks, cache: false, hasOneOpts: { autoFetch: true } })(function (err) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected