import { type DeserializeOptions } from "https://deno.land/x/web_bson@v0.2.5/src/parser/deserializer.ts";
Properties
evaluate functions in the BSON document scoped to the object deserialized.
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