Class MongoConnection

[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.

Inherits from

Constructors

Name Description
this Simplified constructor overload, with no settings
this

Fields

Name Type Descrption
defaultPort int

Properties

Name Type Description
connected bool

Methods

Name Description
acquire Changes the ownership of this connection
release
isOwner
connect
disconnect
update
insert
query
getMore
delete_
killCursors
getLastError

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.