Skip to main content
Module

x/web_bson/mod.ts>ObjectId.createFromHexString

web_bson is a fork from mongodb/js-bson
Go to Latest
method ObjectId.createFromHexString
Re-export
import { ObjectId } from "https://deno.land/x/web_bson@v0.2.4/mod.ts";

Creates an ObjectId from a hex string representation of an ObjectId.

Parameters

hexString: string
  • create a ObjectId from a passed in 24 character hexstring.