Skip to main content
Module

x/mongo/mod.ts>Bson.BSONType

MongoDB driver for Deno
Extremely Popular
Go to Latest
type alias Bson.BSONType
import { type Bson } from "https://deno.land/x/mongo@v0.31.2/mod.ts";
const { BSONType } = Bson;
definition: BSONType[keyof BSONType]
variable Bson.BSONType
import { Bson } from "https://deno.land/x/mongo@v0.31.2/mod.ts";
const { BSONType } = Bson;

type

Readonly<{ readonly double: 1; readonly string: 2; readonly object: 3; readonly array: 4; readonly binData: 5; readonly undefined: 6; readonly objectId: 7; readonly bool: 8; readonly date: 9; readonly null: 10; readonly regex: 11; readonly dbPointer: 12; readonly javascript: 13; readonly symbol: 14; readonly javascriptWithScope: 15; readonly int: 16; readonly timestamp: 17; readonly long: 18; readonly decimal: 19; readonly minKey: -1; readonly maxKey: 127; }>