mongo: The mongo (database connection) class

Description Details See Also Examples

Description

Objects of class "mongo" are used to connect to a MongoDB server and to perform database operations on that server.

Details

mongo objects have "mongo" as their class and contain an externally managed pointer to the connection data. This pointer is stored in the "mongo" attribute of the object.

Note that the members of the mongo object only reflect
the initial parameters of mongo.create(). Only the external data actually changes if, for example, mongo.timeout is called after the initial call to mongo.create.

See Also

mongo.create,
mongo.is.connected,
mongo.get.databases,
mongo.get.database.collections,
mongo.insert,
mongo.find.one,
mongo.find,
mongo.update,
mongo.remove,
mongo.drop,
mongo.drop.database
mongo.gridfs.

Examples

1
2
3
4
5
6
7
8

jonkatz2/rmongodb documentation built on May 19, 2019, 7:30 p.m.