Skip to main content
Module

x/mongo/deps.ts>BSONSymbol

MongoDB driver for Deno
Extremely Popular
Go to Latest
class BSONSymbol
extends BSONValue
import { BSONSymbol } from "https://deno.land/x/mongo@v0.31.2/deps.ts";

A class representation of the BSON Symbol type.

Constructors

new
BSONSymbol(value: string)

Properties

readonly
_bsontype: "BSONSymbol"
value: string

Methods

inspect(): string
toJSON(): string
toString(): string
valueOf(): string

Access the wrapped string value.