Class: DBRef

DBRef

new DBRef(namespace, oid, db){DBRef}

A class representation of the BSON DBRef type.

Name Type Description
namespace string

the collection name.

oid ObjectID

the reference ObjectID.

db string optional

optional db name, if omitted the reference is local to the current db.

comments powered by Disqus