Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/data/deps.ts>mongo.Bson.BSONSymbol

An ecosystem delivering practices, philosophy and portability.
Go to Latest
class mongo.Bson.BSONSymbol
Re-export
import { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { BSONSymbol } = mongo.Bson;

A class representation of the BSON Symbol type.

Constructors

new
BSONSymbol(value: string)

Properties

_bsontype: string
value: string

Methods

toExtendedJSON(): BSONSymbolExtended
toJSON(): string
toString(): string
valueOf(): string

Access the wrapped string value.

Static Methods

fromExtendedJSON(doc: BSONSymbolExtended): BSONSymbol