Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/scripting/db/db.f.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Similar to a [MongoDB db.collection.find()](https://www.mongodb.com/docs/manual/

Selection filter for documents in the script owner's database. An empty query ( `{}` ) selects all documents.

Various [MongoDB query operators](https://www.mongodb.com/docs/manual/reference/operator/query/) can be used for conditional matching and other advanced querying functionality.
Various [MongoDB query operators](https://www.mongodb.com/docs/manual/reference/mql/query-predicates/) can be used for conditional matching and other advanced querying functionality.

### projection

Expand Down
4 changes: 2 additions & 2 deletions docs/scripting/db/db.u.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Similar to a [MongoDB db.collection.update()](https://www.mongodb.com/docs/manua

Selection filter for documents in the script owner's database. An empty query ( `{}` ) selects all documents.

Various [MongoDB query operators](https://www.mongodb.com/docs/manual/reference/operator/query/) can be used for conditional matching and other advanced querying functionality.
Various [MongoDB query operators](https://www.mongodb.com/docs/manual/reference/mql/query-predicates/) can be used for conditional matching and other advanced querying functionality.

### update

Can be either a document object (in which case all matches will be replaced by the new document), _or_ an "update document" containing [MongoDB update operators](https://www.mongodb.com/docs/manual/reference/operator/update/).
Can be either a document object (in which case all matches will be replaced by the new document), _or_ an "update document" containing [MongoDB update operators](https://www.mongodb.com/docs/manual/reference/mql/update/).

Update operators can be used to set new individual values, increment integer values atomically, pop and push to arrays, and more. For a comprehensive list, please see MongoDB's update operator documentation above.

Expand Down
4 changes: 2 additions & 2 deletions docs/scripting/db/db.u1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Similar to a [MongoDB db.collection.updateOne()](https://www.mongodb.com/docs/ma

Selection filter for documents in the script owner's database. An empty query ( `{}` ) selects all documents.

Various [MongoDB query operators](https://www.mongodb.com/docs/manual/reference/operator/query/) can be used for conditional matching and other advanced querying functionality.
Various [MongoDB query operators](https://www.mongodb.com/docs/manual/reference/mql/query-predicates/) can be used for conditional matching and other advanced querying functionality.

### update

Can be either a document object (in which case all matches will be replaced by the new document), _or_ an "update document" containing [MongoDB update operators](https://www.mongodb.com/docs/manual/reference/operator/update/).
Can be either a document object (in which case all matches will be replaced by the new document), _or_ an "update document" containing [MongoDB update operators](https://www.mongodb.com/docs/manual/reference/mql/update/).

Update operators can be used to set new individual values, increment integer values atomically, pop and push to arrays, and more. For a comprehensive list, please see MongoDB's update operator documentation above.

Expand Down
4 changes: 2 additions & 2 deletions docs/scripting/db/db.us.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Similar to a [MongoDB db.collection.update()](https://www.mongodb.com/docs/manua

Selection filter for documents in the script owner's database. An empty query ( `{}` ) selects all documents.

Various [MongoDB query operators](https://www.mongodb.com/docs/manual/reference/operator/query/) can be used for conditional matching and other advanced querying functionality.
Various [MongoDB query operators](https://www.mongodb.com/docs/manual/reference/mql/query-predicates/) can be used for conditional matching and other advanced querying functionality.

If no match is found, this query will be used as the basis for a new document, ready for insertion.

### update

Can be either a document object (in which case all matches will be replaced by the new document), _or_ an "update document" containing [MongoDB update operators](https://www.mongodb.com/docs/manual/reference/operator/update/).
Can be either a document object (in which case all matches will be replaced by the new document), _or_ an "update document" containing [MongoDB update operators](https://www.mongodb.com/docs/manual/reference/mql/update/).

Update operators can be used to set new individual values, increment integer values atomically, pop and push to arrays, and more. For a comprehensive list, please see MongoDB's update operator documentation above.

Expand Down