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)
  2. void ensureIndex(int[string] field_orders, IndexFlags flags, ulong expireAfterSeconds)
    struct MongoCollection
    deprecated @safe
    void
    ensureIndex
    (
    int[string] field_orders
    ,
    IndexFlags flags = IndexFlags.none
    ,
    ulong expireAfterSeconds = 0
    )

Meta