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

x/denodb/deps.ts>Bson.Code#toJSON

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

Returns

{ code: string | Function; scope?: Document; }