Module

x/atlas_sdk3/deps.ts>Int32

TypeSafe MongoDB Atlas Data API SDK for Deno & Deno Deploy
Latest
class Int32
import { Int32 } from "https://dotland.deno.dev/x/atlas_sdk3@v0.3.1/deps.ts";

A class representation of a BSON Int32 type.

Constructors

new
Int32(value: number | string)

Create an Int32 type

Properties

_bsontype: string
value: number

Methods

toExtendedJSON(options?: EJSONOptions): number | Int32Extended
toJSON(): number
toString(radix?: number): string
valueOf(): number

Access the number value.

Static Methods

fromExtendedJSON(doc: Int32Extended, options?: EJSONOptions): number | Int32
import Int32
import { Int32 } from "https://dotland.deno.dev/x/atlas_sdk3@v0.3.1/deps.ts";