Skip to main content
Module

x/mongo/mod.ts>Bson.Int32

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

A class representation of a BSON Int32 type.

Constructors

new
Int32(value: number | string)

Create an Int32 type

Properties

readonly
_bsontype: "Int32"
value: number

Methods

inspect(): string
toJSON(): number
toString(radix?: number): string
valueOf(): number

Access the number value.