import { type mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { UpdateOptions } = mongo;
Properties
Optional. A document expressing the write concern of the update command. Omit to use the default write concern.
Optional. If true, then when an update statement fails, return without performing the remaining update statements. If false, then when an update fails, continue with the remaining update statements, if any. Defaults to true.
Optional. If true, updates all documents that meet the query criteria. If false, limit the update to one document that meet the query criteria. Defaults to false.
optional list of array filters referenced in filtered positional operators
Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
Allow driver to bypass schema validation in MongoDB 3.2 or higher
An optional hint for query optimization. See the update (https://docs.mongodb.com/manual/reference/command/update/#update-command-hint) command reference for more information.
If true, will throw if bson documents start with $ or include a . in any key value
Optional. A user-provided comment to attach to this command.