class UniqueIndex extends AbstractIndex (View source)

Specifies a unique index on a field

Properties

string[] $keys from AbstractIndex
string $name from AbstractIndex
bool|null $dropDups from AbstractIndex
bool|null $background from AbstractIndex
int|null $expireAfterSeconds from AbstractIndex
string|int|null $order from AbstractIndex
bool $unique
bool $sparse from AbstractIndex
mixed[] $options from AbstractIndex
array $partialFilterExpression from AbstractIndex