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
-
Object
(base class) -
EventedObject
Constructors
Name | Description |
---|---|
this | Simplified constructor overload, with no m_settings |
this |
Fields
Name | Type | Description |
---|---|---|
defaultPort | int |
Properties
Name | Type | Description |
---|---|---|
connected | bool |
Methods
Name | Description |
---|---|
acquire | Changes the ownership of this connection |
amOwner | Returns true if the calling fiber owns this object |
connect | |
delete_ | |
disconnect | |
getLastError | |
getMore | |
insert | |
killCursors | |
query | |
release | Releases the ownership of the object. |
update |
Aliases
Name | Description |
---|---|
isOwner | Compatibility alias, will be deprecated soon. |
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.