Skip to main content
Module

x/mongo/mod.ts>Bson.BSONSymbol

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

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.