- connect
void connect()
Undocumented in source. Be warned that the author may not have intended to support it.
- delete_
void delete_(string collection_name, DeleteFlags flags, Bson selector)
Undocumented in source. Be warned that the author may not have intended to support it.
- disconnect
void disconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
- getLastError
MongoErrorDescription getLastError(string db)
Undocumented in source. Be warned that the author may not have intended to support it.
- getMore
void getMore(string collection_name, int nret, long cursor_id, ReplyDelegate on_msg, DocDelegate!T on_doc)
Undocumented in source. Be warned that the author may not have intended to support it.
- insert
void insert(string collection_name, InsertFlags flags, Bson[] documents)
Undocumented in source. Be warned that the author may not have intended to support it.
- killCursors
void killCursors(long[] cursors)
Undocumented in source. Be warned that the author may not have intended to support it.
- listDatabases
auto listDatabases()
Queries the server for all databases.
- query
void query(string collection_name, QueryFlags flags, int nskip, int nret, Bson query, Bson returnFieldSelector, ReplyDelegate on_msg, DocDelegate!T on_doc)
Undocumented in source. Be warned that the author may not have intended to support it.
- update
void update(string collection_name, UpdateFlags flags, Bson selector, Bson update)
Undocumented in source. Be warned that the author may not have intended to support it.
internal Provides low-level mongodb protocol access.
It is not intended for direct usage. Please use vibe.db.mongo.db and vibe.db.mongo.collection modules for your code. Note that a MongoConnection may only be used from one fiber/thread at a time.