Skip to main content
Extremely Popular
Go to Latest
method ObjectId.createFromHexString
import { ObjectId } from "https://deno.land/x/mongo@v0.31.2/deps.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.