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

x/denodb/deps.ts>Bson.UUID#toHexString

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

Returns the UUID id as a 32 or 36 character hex string representation, excluding/including dashes (defaults to 36 character dash separated)

Parameters

optional
includeDashes: boolean
  • should the string exclude dash-separators.

Returns

string