Mongodb integration

suggest change

Syntax

Driver 4 and later drop the callback and return a promise. The option name is serializeFunctions.

Parameters

Parameter Details
document A JavaScript object representing one document
documents An array of documents
query An object defining a search query
filter An object selecting which documents to update or delete
callback Called when the operation finishes. Removed in driver 4.
options Optional settings. The default is null.
w Write concern
wtimeout Write-concern timeout. The default is null.
j Journal write concern. The default is false.
upsert Insert the document when no document matches. For updates. The default is false.
serializeFunctions Serialize functions stored on the document. The default is false.
forceServerObjectId Let the server assign _id. The default is false.
bypassDocumentValidation Skip schema validation on MongoDB 3.2 and later. The default is false.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents