diff --git a/source/includes/ref-toc-method-constructor.yaml b/source/includes/ref-toc-method-constructor.yaml index 925b459e7d5..7eba63b34a3 100644 --- a/source/includes/ref-toc-method-constructor.yaml +++ b/source/includes/ref-toc-method-constructor.yaml @@ -16,5 +16,5 @@ description: "Displays the string representation of an :term:`ObjectId`." --- name: ":method:`ObjectId.valueOf()`" file: /reference/method/ObjectId.valueOf -description: "Displays the ``str`` attribute of an ObjectId as a hexadecimal." +description: "Displays the ``str`` attribute of an ObjectId as a hexadecimal string." ... diff --git a/source/includes/ref-toc-method-cursor.yaml b/source/includes/ref-toc-method-cursor.yaml index bdc74f7bc1c..a51c6e669e4 100644 --- a/source/includes/ref-toc-method-cursor.yaml +++ b/source/includes/ref-toc-method-cursor.yaml @@ -28,11 +28,11 @@ description: "Forces MongoDB to use a specific index for a query." --- name: ":method:`cursor.limit()`" file: /reference/method/cursor.limit -description: "Constrains the size of a cursors result set." +description: "Constrains the size of a cursor's result set." --- name: ":method:`cursor.map()`" file: /reference/method/cursor.map -description: "Applies a function to each document in a cursor collecting the return value in an array." +description: "Applies a function to each document in a cursor and collects the return values in an array." --- name: ":method:`cursor.max()`" file: /reference/method/cursor.max @@ -52,7 +52,7 @@ description: "Returns the number of documents left in the current cursor batch." --- name: ":method:`cursor.readpref()`" file: /reference/method/cursor.readPref() -description: "Specifies a :term:`read preference` to a cursor to control the client directs queries to a :term:`replica set`." +description: "Specifies a :term:`read preference` to a cursor to control how the client directs queries to a :term:`replica set`." --- name: ":method:`cursor.showDiskLoc()`" file: /reference/method/cursor.showDiskLoc @@ -68,7 +68,7 @@ description: "Returns a cursor that begins returning results only after passing --- name: ":method:`cursor.snapshot()`" file: /reference/method/cursor.snapshot -description: "Forces the cursor to return the index using the index on the ``_id`` field to prevent duplicate documents with regards to the value of the ``_id`` field." +description: "Forces the cursor to use the index on the ``_id`` field to ensure that even with document movement, the cursor will return each document no more than once." --- name: ":method:`cursor.sort()`" file: /reference/method/cursor.sort diff --git a/source/includes/ref-toc-method-database.yaml b/source/includes/ref-toc-method-database.yaml index c55b34e47e3..d1a142b0ae4 100644 --- a/source/includes/ref-toc-method-database.yaml +++ b/source/includes/ref-toc-method-database.yaml @@ -16,11 +16,11 @@ description: "Copies a database from a remote host to the current host. Wraps :d --- name: ":method:`db.commandHelp()`" file: /reference/method/db.commandHelp -description: "Returns help information a :term:`database command`." +description: "Returns help information for a :term:`database command`." --- name: ":method:`db.copyDatabase()`" file: /reference/method/db.copyDatabase -description: "Creates a copy of a database within another database. Wraps :dbcommand:`copydb`." +description: "Copies a database to another database on the current host. Wraps :dbcommand:`copydb`." --- name: ":method:`db.createCollection()`" file: /reference/method/db.createCollection @@ -28,7 +28,7 @@ description: "Creates a new collection. Commonly used to create a capped collect --- name: ":method:`db.currentOp()`" file: /reference/method/db.currentOp -description: "Reports the current in progress operations." +description: "Reports the current in-progress operations." --- name: ":method:`db.dropDatabase()`" file: /reference/method/db.dropDatabase @@ -48,7 +48,7 @@ description: "Allows writes to continue on a database locked with :method:`db.fs --- name: ":method:`db.getCollection()`" file: /reference/method/db.getCollection -description: "Returns a collection object. Used to access connections with names that are not valid JavaScript." +description: "Returns a collection object. Used to access collections with names that are not valid in the :program:`mongo` shell." --- name: ":method:`db.getCollectionNames()`" file: /reference/method/db.getCollectionNames @@ -84,7 +84,7 @@ description: "Returns a document that reflects the current profiling level and t --- name: ":method:`db.getReplicationInfo()`" file: /reference/method/db.getReplicationInfo -description: "Returns a document with replication statistics. See " +description: "Returns a document with replication statistics. See :doc:`/reference/replication-info`" --- name: ":method:`db.getSiblingDB()`" file: /reference/method/db.getSiblingDB @@ -132,7 +132,7 @@ description: "Prints a report of the sharding configuration and the chunk ranges --- name: ":method:`db.printSlaveReplicationInfo()`" file: /reference/method/db.printSlaveReplicationInfo -description: "Prints a report the status of the replica set from the perspective of the secondary." +description: "Prints a report of the status of the replica set from the perspective of the secondary." --- name: ":method:`db.removeUser()`" file: /reference/method/db.removeUser