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
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,8 @@ type CreateGraphOptions struct {
70
70
WriteConcernint
71
71
// IsDisjoint set isDisjoint flag for Graph. Required ArangoDB 3.7+
72
72
IsDisjointbool
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"`
73
75
}
74
76
75
77
// EdgeDefinition contains all information needed to define a single edge in a graph.
@@ -80,4 +82,6 @@ type EdgeDefinition struct {
80
82
To []string`json:"to"`
81
83
// From contains the names of one or more vertex collections that can contain source vertices.
Copy file name to clipboardExpand all lines: database_graphs_impl.go
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -166,6 +166,8 @@ type createGraphAdditionalOptions struct {
166
166
WriteConcernint`json:"writeConcern,omitempty"`
167
167
// IsDisjoint set isDisjoint flag for Graph. Required ArangoDB 3.7+
168
168
IsDisjointbool`json:"isDisjoint,omitempty"`
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"`
169
171
}
170
172
171
173
// CreateGraph creates a new graph with given name and options, and opens a connection to it.
// To contains names of vertex collection that are allowed to be used in the To part of an edge.
56
59
To []string
57
60
}
61
+
62
+
// CreateEdgeCollectionOptions contains optional parameters for creating a new edge collection
63
+
typeCreateEdgeCollectionOptionsstruct {
64
+
// Satellites contains an array of collection names that will be used to create SatelliteCollections for a Hybrid (Disjoint) SmartGraph (Enterprise Edition only)
// CreateVertexCollectionOptions contains optional parameters for creating a new vertex collection
50
+
typeCreateVertexCollectionOptionsstruct {
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