import { type mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { InsertOptions } = mongo;
Properties
Optional. If true, then when an insert of a document fails, return without inserting any remaining documents listed in the inserts array. If false, then when an insert of a document fails, continue to insert the remaining documents. Defaults to true.
Optional. A document that expresses the write concern of the insert command. Omit to use the default write concern. Do not explicitly set the write concern for the operation if run in a transaction. To use write concern with transactions, see Transactions and Write Concern.
Optional. Enables insert to bypass document validation during the operation. This lets you insert documents that do not meet the validation requirements.
Optional. A user-provided comment to attach to this command.