Constructors
constructor
Parameters
collection: string
Optional db: string
Optional fields: Document
Properties
_bsontype
_bsontype: "DBRef"
collection
collection: string
Optional db
db?: string
fields
oid
Methods
inspect
Returns string
toJSON
Returns DBRefLike & Document
A class representation of the BSON DBRef type.