Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
class mongo.Bson.BSONSymbol
Re-export
import { mongo } from "https://deno.land/x/hex@0.6.5/src/lib/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