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

x/hex/src/lib/data/deps.ts>mongo.Bson.SerializeOptions

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
interface mongo.Bson.SerializeOptions
Re-export
import { type mongo } from "https://deno.land/x/hex@0.6.5/src/lib/data/deps.ts";
const { SerializeOptions } = mongo.Bson;

Properties

optional
checkKeys: boolean

the serializer will check if keys are valid.

optional
serializeFunctions: boolean

serialize the javascript functions (default:false).

optional
ignoreUndefined: boolean

serialize will not emit undefined fields (default:true)

optional
index: number

the index in the buffer where we wish to start serializing into