Skip to content

Commit e76a814

Browse files
committed
Documented added fields
1 parent 9ece8c1 commit e76a814

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

database_collections.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,12 @@ type CreateCollectionOptions struct {
8888
KeyOptions *CollectionKeyOptions `json:"keyOptions,omitempty"`
8989
// This field is used for internal purposes only. DO NOT USE.
9090
DistributeShardsLike string `json:"distributeShardsLike,omitempty"`
91-
// TODO: Document me
91+
// Set to create a smart edge or vertex collection.
92+
// This requires ArangoDB enterprise.
9293
IsSmart bool `json:"isSmart,omitempty"`
93-
// TODO: Document me
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.
9497
SmartGraphAttribute string `json:"smartGraphAttribute,omitempty"`
9598
}
9699

0 commit comments

Comments
 (0)