MCPcopy Create free account
hub / github.com/angular-app/angular-app / handleDeleteResult

Function handleDeleteResult

server/test/mongo-initdb.js:60–64  ·  view source on GitHub ↗
(err, data)

Source from the content-addressed store, hash-verified

58 initDB.checkDocument(initDB.usersCollection, someuser, function(err, data) {
59 // first, delete any existing test user docs
60 var handleDeleteResult = function(err, data) {
61 //console.log('err is ' + JSON.stringify(err));
62 //console.log('data is ' + JSON.stringify(data));
63 console.log('Deleted doc ID ' + data._id.$oid);
64 };
65 for (var i = 0; i < data.length; i++) {
66 var doc = data[i];
67 console.log('doc is ' + JSON.stringify(doc));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected