import { type Bson } from "https://deno.land/x/denodb@v1.1.0/deps.ts";
const { DeserializeOptions } = Bson;
Properties
evaluate functions in the BSON document scoped to the object deserialized.
use a crc32 code for caching, otherwise use the string of the function.
when deserializing a Long will fit it into a Number if it's smaller than 53 bits
when deserializing a Binary will return it as a node.js Buffer instance.
when deserializing will promote BSON values to their Node.js closest equivalent types.
optional
fieldsAsRaw: Documentallow to specify if there what fields we wish to return as unserialized raw buffer.
allows the buffer to be larger than the parsed BSON object