Skip to content

Commit 30c109f

Browse files
author
a-brandt
committed
added default GraphEdgesOptions
1 parent 1d8330f commit 30c109f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/arangodb/ArangoDriver.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5254,6 +5254,10 @@ public <T> EdgeCursor<T> graphGetEdgeCursor(
52545254
GraphEdgesOptions graphEdgesOptions,
52555255
AqlQueryOptions aqlQueryOptions) throws ArangoException {
52565256

5257+
if (graphEdgesOptions == null) {
5258+
graphEdgesOptions = new GraphEdgesOptions();
5259+
}
5260+
52575261
validateCollectionName(graphName);
52585262

52595263
String query = "for i in graph_edges(@graphName, @vertexExample, @options) return i";

0 commit comments

Comments
 (0)