File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ func (c *collection) Remove(ctx context.Context) error {
237
237
if err != nil {
238
238
return WithStack (err )
239
239
}
240
+ applyContextSettings (ctx , req )
240
241
resp , err := c .conn .Do (ctx , req )
241
242
if err != nil {
242
243
return WithStack (err )
Original file line number Diff line number Diff line change @@ -88,6 +88,13 @@ type CreateCollectionOptions struct {
88
88
KeyOptions * CollectionKeyOptions `json:"keyOptions,omitempty"`
89
89
// This field is used for internal purposes only. DO NOT USE.
90
90
DistributeShardsLike string `json:"distributeShardsLike,omitempty"`
91
+ // Set to create a smart edge or vertex collection.
92
+ // This requires ArangoDB enterprise.
93
+ IsSmart bool `json:"isSmart,omitempty"`
94
+ // This field must be set to the attribute that will be used for sharding or smart graphs.
95
+ // All vertices are required to have this attribute set. Edges derive the attribute from their connected vertices.
96
+ // This requires ArangoDB enterprise.
97
+ SmartGraphAttribute string `json:"smartGraphAttribute,omitempty"`
91
98
}
92
99
93
100
// CollectionType is the type of a collection.
You can’t perform that action at this time.
0 commit comments