vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function MongoCollection.createIndexes

Builds one or more indexes in the collection.

string[] createIndexes (
  scope const(IndexModel)[] models,
  CreateIndexOptions options = CreateIndexOptions(Nullable(DontCallDestructorT(), true)),
  string file = __FILE__,
  ulong line = cast(ulong)__LINE__
) @safe;

See Also

https://docs.mongodb.com/manual/reference/command/createIndexes/

Authors

Sönke Ludwig

Copyright

© 2012-2016 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.