MongoDB-class {Proc4}R Documentation

Class "MongoDB"

Description

An S4-style class for the mongo class. Note that this is actually a class union, allowing for NULL if the database is not yet initialized.

Objects from the Class

NULL is an object of this class.

Objects of this class can be created with calls to mongo.

Methods

No methods defined with class "MongoDB" in the signature.

Note

The original mongo class is an S3 class. Rather than just call setOldClass and exposing that, I've explosed a class union (setClassUnion) with the mongo class and NULL.

A typical usage would have this type used in the slot of an object, which would initialize the value to NULL, and then set it to a mongo object when the database connection is openned.

Author(s)

Russell Almond

See Also

ListenerSet, mongo

Examples

showClass("MongoDB")
showClass("ListenerSet")
lset <- ListenerSet$new()
lset$messdb

[Package Proc4 version 0.4-7 Index]