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

x/denodb/deps.ts>Bson.Long.fromValue

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Latest
method Bson.Long.fromValue
import { Bson } from "https://deno.land/x/denodb@v1.4.0/deps.ts";
const { Long } = Bson;

Converts the specified value to a Long.

Parameters

val: number | string | { low: number; high: number; unsigned?: boolean; }
  • Whether unsigned or not, defaults to signed
optional
unsigned: boolean