mirror of https://gitee.com/bigwinds/arangodb
deleted print O.o
This commit is contained in:
parent
19191b5a1b
commit
35b645ba1a
|
@ -1665,7 +1665,6 @@ var _create = function (graphName, edgeDefinitions, orphanCollections) {
|
||||||
'edgeDefinitions' : edgeDefinitions,
|
'edgeDefinitions' : edgeDefinitions,
|
||||||
'_key' : graphName
|
'_key' : graphName
|
||||||
});
|
});
|
||||||
require("internal").print("precreate");
|
|
||||||
return new Graph(graphName, edgeDefinitions, collections[0], collections[1], orphanCollections);
|
return new Graph(graphName, edgeDefinitions, collections[0], collections[1], orphanCollections);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -1791,7 +1790,6 @@ var bindEdgeCollections = function(self, edgeCollections) {
|
||||||
|
|
||||||
var bindVertexCollections = function(self, vertexCollections) {
|
var bindVertexCollections = function(self, vertexCollections) {
|
||||||
_.each(vertexCollections, function(key) {
|
_.each(vertexCollections, function(key) {
|
||||||
require("internal").print("each resolved");
|
|
||||||
var obj = db._collection(key);
|
var obj = db._collection(key);
|
||||||
var result;
|
var result;
|
||||||
var wrap = wrapCollection(obj);
|
var wrap = wrapCollection(obj);
|
||||||
|
@ -1885,7 +1883,6 @@ var updateBindCollections = function(graph) {
|
||||||
bindVertexCollections(graph, edgeDef.to);
|
bindVertexCollections(graph, edgeDef.to);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
require("internal").print("preVertex");
|
|
||||||
bindVertexCollections(graph, graph.__orphanCollections);
|
bindVertexCollections(graph, graph.__orphanCollections);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2116,7 +2113,6 @@ var Graph = function(graphName, edgeDefinitions, vertexCollections, edgeCollecti
|
||||||
createHiddenProperty(this, "__idsToRemove", []);
|
createHiddenProperty(this, "__idsToRemove", []);
|
||||||
createHiddenProperty(this, "__collectionsToLock", []);
|
createHiddenProperty(this, "__collectionsToLock", []);
|
||||||
createHiddenProperty(this, "__orphanCollections", orphanCollections);
|
createHiddenProperty(this, "__orphanCollections", orphanCollections);
|
||||||
require("internal").print("preBind");
|
|
||||||
updateBindCollections(self);
|
updateBindCollections(self);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -1664,7 +1664,6 @@ var _create = function (graphName, edgeDefinitions, orphanCollections) {
|
||||||
'edgeDefinitions' : edgeDefinitions,
|
'edgeDefinitions' : edgeDefinitions,
|
||||||
'_key' : graphName
|
'_key' : graphName
|
||||||
});
|
});
|
||||||
require("internal").print("precreate");
|
|
||||||
return new Graph(graphName, edgeDefinitions, collections[0], collections[1], orphanCollections);
|
return new Graph(graphName, edgeDefinitions, collections[0], collections[1], orphanCollections);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -1883,7 +1882,6 @@ var updateBindCollections = function(graph) {
|
||||||
bindVertexCollections(graph, edgeDef.to);
|
bindVertexCollections(graph, edgeDef.to);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
require("internal").print("preVertex");
|
|
||||||
bindVertexCollections(graph, graph.__orphanCollections);
|
bindVertexCollections(graph, graph.__orphanCollections);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2114,7 +2112,6 @@ var Graph = function(graphName, edgeDefinitions, vertexCollections, edgeCollecti
|
||||||
createHiddenProperty(this, "__idsToRemove", []);
|
createHiddenProperty(this, "__idsToRemove", []);
|
||||||
createHiddenProperty(this, "__collectionsToLock", []);
|
createHiddenProperty(this, "__collectionsToLock", []);
|
||||||
createHiddenProperty(this, "__orphanCollections", orphanCollections);
|
createHiddenProperty(this, "__orphanCollections", orphanCollections);
|
||||||
require("internal").print("preBind");
|
|
||||||
updateBindCollections(self);
|
updateBindCollections(self);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue