Options
All
  • Public
  • Public/Protected
  • All
Menu

A class representation of the BSON Code type.

see

http://mongodb.github.io/node-mongodb-native/2.1/api/Code.html

Hierarchy

  • Code

Index

Constructors

Properties

Constructors

constructor

  • new Code(code: string | Function, scope?: Object): Code

Properties

code

code: string | Function

A string or function.

scope

scope: any

An optional scope for the function.

Generated using TypeDoc