Skip to main content
Module

x/mongo/mod.ts>Bson.Timestamp.fromBits

MongoDB driver for Deno
Extremely Popular
Go to Latest
method Bson.Timestamp.fromBits
Re-export
import { Bson } from "https://deno.land/x/mongo@v0.31.1/mod.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.

Returns

Timestamp