x/denomongo_unittest_utils/deps.ts

Unittest utilities for deno_mongo
Latest
interface UpdateOptions
import { type UpdateOptions } from "https://deno.land/x/denomongo_unittest_utils@v0.5.3/deps.ts?s=UpdateOptions";

Properties

optional
writeConcern: Document
[src]

Optional. A document expressing the write concern of the update command. Omit to use the default write concern.

optional
ordered: boolean
[src]

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
multi: boolean
[src]

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
arrayFilters: Document[]
[src]

optional list of array filters referenced in filtered positional operators

optional
collation: Document
[src]

Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).

optional
bypassDocumentValidation: boolean
[src]

Allow driver to bypass schema validation in MongoDB 3.2 or higher

optional
hint: Document
[src]

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.

optional
upsert: boolean
[src]

When true, creates a new document if no document matches the query.

optional
wtimeout: number
[src]

The write concern timeout.

optional
checkKeys: boolean
[src]

If true, will throw if bson documents start with $ or include a . in any key value

optional
serializeFunctions: boolean
[src]

Serialize functions on any object.

optional
ignoreUndefined: boolean
[src]

Specify if the BSON serializer should ignore undefined fields.

optional
comment: Document
[src]

Optional. A user-provided comment to attach to this command.