MongoIndexOptions interface

Cosmos DB MongoDB collection index options

Properties

expireAfterSeconds

Expire after seconds

unique

Is unique or not

Property Details

expireAfterSeconds

Expire after seconds

expireAfterSeconds?: number

Property Value

number

unique

Is unique or not

unique?: boolean

Property Value

boolean