class UniqueIndex extends AbstractIndex (View source)

Specifies a unique index on a field

Properties

$keys from AbstractIndex
$name from AbstractIndex
$dropDups from AbstractIndex
$background from AbstractIndex
$safe from AbstractIndex
$expireAfterSeconds from AbstractIndex
$order from AbstractIndex
$unique
$sparse from AbstractIndex
$options from AbstractIndex
$partialFilterExpression from AbstractIndex