Method SetUnique
SetUnique(bool)
Sets whether the index enforces unique values.
public IndexOptionsBuilder SetUnique(bool value)
Parameters
value
boolWhether the index enforces unique values.
Returns
- IndexOptionsBuilder
The builder (so method calls can be chained).