PostIndexBodyUnique Property |
Set this property to true to create a unique index.
Setting it to false or omitting it will create a non-unique index.
Namespace:
ArangoDBNetStandard.IndexApi.Models
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public bool? Unique { get; set; }
Public Property Unique As Boolean?
Get
Set
public:
property Nullable<bool> Unique {
Nullable<bool> get ();
void set (Nullable<bool> value);
}
member Unique : Nullable<bool> with get, set
Property Value
Type:
NullableBooleanRemarks
The following index types do not support uniqueness,
and using the unique attribute with these types may lead to an error:
Geo,
FullText.
Unique indexes on non-shard keys are not supported in a cluster.
See Also