Skip to main content
Module

x/denodb/deps.ts>Bson.EJSON.Options

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Go to Latest
interface Bson.EJSON.Options
import { type Bson } from "https://deno.land/x/denodb@v1.0.40/deps.ts";
const { Options } = Bson.EJSON;

Properties

optional
legacy: boolean

Output using the Extended JSON v1 spec

optional
relaxed: boolean

Enable Extended JSON's relaxed mode, which attempts to return native JS types where possible, rather than BSON types

optional
deprecated
strict: boolean

Disable Extended JSON's relaxed mode, which attempts to return BSON types where possible, rather than native JS types