Skip to main content
Module

x/denodb/deps.ts>Bson.Timestamp.fromBits

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

Returns a Timestamp for the given high and low bits. Each is assumed to use 32 bits.

Parameters

lowBits: number
  • the low 32-bits.
highBits: number
  • the high 32-bits.