Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Code

A class representation of the BSON Code type.BSON代码类型的类表示。

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使用TypeDoc生成