Col

Undocumented in source.

Alias This

collection

Members

Functions

aggregate
auto aggregate(K aggregate, BsonObject options, QueryFlags flags, ReadPrefs readPrefs)
Undocumented in source. Be warned that the author may not have intended to support it.
find
auto find(Query query, QueryFlags flags, ReadPrefs readPrefs)

S (return type) needs to be specified.

find
auto find(Query query, QueryFlags flags, ReadPrefs readPrefs)
Undocumented in source. Be warned that the author may not have intended to support it.
findOne
S findOne(Query query, QueryFlags flags, ReadPrefs readPrefs)

Same parameters as Collection.findOne (except the first one). S (return type) needs to be specified.

findOne
auto findOne(Query query, QueryFlags flags, ReadPrefs readPrefs)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
auto insert(S val)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
auto insert(S val)
Undocumented in source. Be warned that the author may not have intended to support it.
trySeveralTimes
auto trySeveralTimes(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(BsonObject selector, S update, UpdateFlags flags, WriteConcern writeConcern)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(BsonObject selector, S update, UpdateFlags flags, WriteConcern writeConcern)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

collection
Collection collection;
Undocumented in source.

Meta