Documentation ¶
Overview ¶
Package update is the main package for go-update-mongo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateDocument ¶
UpdateDocument updates the provided bson.D document using the passed updateDoc. it returns that new document.
The passed updateDoc must conform to the mongodb Update Operator spec https://www.mongodb.com/docs/manual/reference/operator/update/
Under the hood, this uses FerretDB to update the document.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.