mirror of https://gitee.com/bigwinds/arangodb
renamed _getFromVertex(...) -> _fromVertex(..)
This commit is contained in:
parent
d31e8f784b
commit
69df68c54e
|
@ -6,7 +6,7 @@ This chapter describes various functions on a graph.
|
|||
|
||||
!SUBSECTION Get vertex *from* of an edge
|
||||
|
||||
@startDocuBlock JSF_general_graph_getFromVertex
|
||||
@startDocuBlock JSF_general_graph_fromVertex
|
||||
|
||||
!SUBSECTION Get vertex *to* of an edge
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1619,7 +1619,7 @@ var _create = function (graphName, edgeDefinitions, orphanCollections) {
|
|||
if (JSON.stringify(sGED) !== JSON.stringify(tmpEdgeDefinitions[col])) {
|
||||
err = new ArangoError();
|
||||
err.errorNum = arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.code;
|
||||
err.errorMessage = col
|
||||
err.errorMessage = col + " "
|
||||
+ arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message;
|
||||
throw err;
|
||||
}
|
||||
|
@ -3498,7 +3498,7 @@ Graph.prototype._extendEdgeDefinitions = function(edgeDefinition) {
|
|||
err = new ArangoError();
|
||||
err.errorNum = arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.code;
|
||||
err.errorMessage = col
|
||||
+ arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message;
|
||||
+ " " + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message;
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -529,7 +529,7 @@ function GeneralGraphCreationSuite() {
|
|||
} catch (e) {
|
||||
assertEqual(
|
||||
e.errorMessage,
|
||||
ec2 + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message
|
||||
ec2 + " " + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -1891,7 +1891,7 @@ function EdgesAndVerticesSuite() {
|
|||
} catch (e) {
|
||||
assertEqual(
|
||||
e.errorMessage,
|
||||
ec1 + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message
|
||||
ec1 + " " + arangodb.errors.ERROR_GRAPH_COLLECTION_USE_IN_MULTI_GRAPHS.message
|
||||
);
|
||||
}
|
||||
assertFalse(graph._exists(myGraphName));
|
||||
|
|
Loading…
Reference in New Issue