Skip to main content
Module

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

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

Returns a Timestamp from the given string, optionally using the given radix.

Parameters

str: string
  • the textual representation of the Timestamp.
optRadix: number
  • the radix in which the text is written.