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

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

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

Converts the id into a 36 character (dashes included) hex string, unless a encoding is specified.

Parameters

optional
encoding: string

Returns

string