MongoCollection.ensureIndex

Undocumented in source. Be warned that the author may not have intended to support it.
  1. void ensureIndex(const(Tuple!(string, int))[] field_orders, IndexFlags flags, Duration expire_time)
    struct MongoCollection
    deprecated @safe
    void
    ensureIndex
    (
    scope const(Tuple!(string, int))[] field_orders
    ,
    IndexFlags flags = IndexFlags.none
    ,
    Duration expire_time = 0.seconds
    )
  2. void ensureIndex(int[string] field_orders, IndexFlags flags, ulong expireAfterSeconds)

Meta