Code | mongodb (original) (raw)
Hierarchy (view full)
- BSONValue
- Code
Index
Constructors
constructor
Returns Code
Properties
code
code: string
scope
Accessors
_bsontype
- get _bsontype(): "Code"
Returns "Code"
Methods
inspect
- inspect(depth?, options?, inspect?): string
Parameters
Optional
depth: numberOptional
options: unknownOptional
inspect: InspectFn
Returns string
toJSON
- toJSON(): {
code: string;
scope?: Document;
} Returns {
code: string;
scope?: Document;
}
code: string
Optional
scope?: Document