vibe-d ~master (2022-11-16T10:14:41Z)
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)
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
Source
See Implementation
index
vibe
db
mongo
collection
MongoCollection
aliases
getIndexes
constructors
this
functions
aggregate
count
countDocuments
createIndex
createIndexes
deleteAll
deleteImpl
deleteMany
deleteOne
distinct
drop
dropIndex
dropIndexes
ensureIndex
estimatedDocumentCount
find
findAndModify
findAndModifyExt
findOne
insert
insertMany
insertOne
listIndexes
remove
replaceOne
update
updateImpl
updateMany
updateOne
properties
database
name