Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DBRef

A class representation of the BSON DBRef type.

Hierarchy

  • DBRef

Index

Constructors

  • Parameters

    • collection: string

      the collection name.

    • oid: ObjectId

      the reference ObjectId.

    • Optional db: string

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

    • Optional fields: Document

    Returns DBRef

Properties

_bsontype: "DBRef"
collection: string
db?: string
fields: Document

Methods

  • inspect(): string
  • Returns string

  • Returns DBRefLike & Document

Generated using TypeDoc