You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: database_graphs.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ type CreateGraphOptions struct {
71
71
// IsDisjoint set isDisjoint flag for Graph. Required ArangoDB 3.7+
72
72
IsDisjointbool
73
73
// Satellites contains an array of collection names that will be used to create SatelliteCollections for a Hybrid (Disjoint) SmartGraph (Enterprise Edition only)
74
-
Satellites []string`json:"satellites"`
74
+
Satellites []string`json:"satellites,omitempty"`
75
75
}
76
76
77
77
// EdgeDefinition contains all information needed to define a single edge in a graph.
Copy file name to clipboardExpand all lines: database_graphs_impl.go
+9-17Lines changed: 9 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -167,11 +167,12 @@ type createGraphAdditionalOptions struct {
167
167
// IsDisjoint set isDisjoint flag for Graph. Required ArangoDB 3.7+
168
168
IsDisjointbool`json:"isDisjoint,omitempty"`
169
169
// Satellites contains an array of collection names that will be used to create SatelliteCollections for a Hybrid (Disjoint) SmartGraph (Enterprise Edition only)
170
-
Satellites []string`json:"satellites"`
170
+
Satellites []string`json:"satellites,omitempty"`
171
171
}
172
172
173
173
// CreateGraph creates a new graph with given name and options, and opens a connection to it.
174
174
// If a graph with given name already exists within the database, a DuplicateError is returned.
Copy file name to clipboardExpand all lines: graph_edge_collections.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -62,5 +62,5 @@ type VertexConstraints struct {
62
62
// CreateEdgeCollectionOptions contains optional parameters for creating a new edge collection
63
63
typeCreateEdgeCollectionOptionsstruct {
64
64
// Satellites contains an array of collection names that will be used to create SatelliteCollections for a Hybrid (Disjoint) SmartGraph (Enterprise Edition only)
Copy file name to clipboardExpand all lines: graph_vertex_collections.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,5 +49,5 @@ type GraphVertexCollections interface {
49
49
// CreateVertexCollectionOptions contains optional parameters for creating a new vertex collection
50
50
typeCreateVertexCollectionOptionsstruct {
51
51
// Satellites contains an array of collection names that will be used to create SatelliteCollections for a Hybrid (Disjoint) SmartGraph (Enterprise Edition only)
0 commit comments