Click or drag to resize

PostCollectionBodyShardingStrategy Property

This attribute specifies the name of the sharding strategy to use for the collection. Since ArangoDB 3.4 there are different sharding strategies to select from when creating a new collection. The selected ShardingStrategy value will remain fixed for the collection and cannot be changed afterwards.

Namespace:  ArangoDBNetStandard.CollectionApi.Models
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public string ShardingStrategy { get; set; }

Property Value

Type: String
Remarks
The available sharding strategies are: community-compat, enterprise-compat, enterprise-smart-edge-compat, hash, enterprise-hash-smart-edge. If no sharding strategy is specified, the default will be hash for all collections, and enterprise-hash-smart-edge for all smart edge collections (the latter requires the Enterprise Edition of ArangoDB).
See Also