Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denodb/deps.ts>Bson.UUID.createFromHexString

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

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

Parameters

hexString: string
  • 32 or 36 character hex string (dashes excluded/included).