diff --git a/docs/scripting/db/db.f.mdx b/docs/scripting/db/db.f.mdx index fc68bdec..1050ce7f 100644 --- a/docs/scripting/db/db.f.mdx +++ b/docs/scripting/db/db.f.mdx @@ -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 diff --git a/docs/scripting/db/db.u.mdx b/docs/scripting/db/db.u.mdx index 4783bab0..476d9546 100644 --- a/docs/scripting/db/db.u.mdx +++ b/docs/scripting/db/db.u.mdx @@ -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. diff --git a/docs/scripting/db/db.u1.mdx b/docs/scripting/db/db.u1.mdx index 8a37e4f2..f3366952 100644 --- a/docs/scripting/db/db.u1.mdx +++ b/docs/scripting/db/db.u1.mdx @@ -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. diff --git a/docs/scripting/db/db.us.mdx b/docs/scripting/db/db.us.mdx index 63668214..3abee6fc 100644 --- a/docs/scripting/db/db.us.mdx +++ b/docs/scripting/db/db.us.mdx @@ -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.