vibe-d v0.9.5-beta.1 (2022-05-13T15:16:55Z)
Home
Dub
Repo
MongoCollection.ensureIndex
index
vibe
db
mongo
collection
MongoCollection
Undocumented in source. Be warned that the author may not have intended to support it.
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
)
void
ensureIndex
(int[string] field_orders, IndexFlags flags, ulong expireAfterSeconds)
Meta
Source
See Implementation
index
vibe
db
mongo
collection
MongoCollection
aliases
getIndexes
constructors
this
functions
aggregate
count
createIndex
createIndexes
distinct
drop
dropIndex
dropIndexes
ensureIndex
find
findAndModify
findAndModifyExt
findOne
insert
listIndexes
remove
update
properties
database
name