MongoCollection.createIndexes

Builds one or more indexes in the collection.

struct MongoCollection
@safe
string[]
createIndexes
(
scope const(IndexModel)[] models
,
CreateIndexesOptions options = CreateIndexesOptions.init
,
string file = __FILE__
,
size_t line = __LINE__
)

See Also

Meta