Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Latest
method Bson.Timestamp.fromBits
import { Bson } from "https://deno.land/x/denodb@v1.4.0/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.