Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Code

A class representation of the BSON Code type.

Hierarchy

  • Code

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • code: string | Function

      a string or function.

    • Optional scope: Document

      an optional scope for the function.

    Returns Code

Properties

_bsontype

_bsontype: "Code"

code

code: string | Function

Optional scope

scope: Document

Methods

inspect

  • inspect(): string
  • Returns string

Generated using TypeDoc