MongoCollection.createIndexes

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

Builds one or more indexes in the collection.

See Also