Skip to content

Commit 11cb1e5

Browse files
authored
Apply suggestions from code review
1 parent dc6f436 commit 11cb1e5

29 files changed

+29
-29
lines changed

source/fundamentals/crud/read-operations/distinct.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Retrieve Distinct Values
1010

1111
.. meta::
1212
:keywords: read operation, code example
13-
:description: Learn how to retrieve distinct values for a specified field in a collection using the `Distinct()` method in Go.
13+
:description: Learn how to retrieve distinct values for a specified field in a collection using the Distinct() method in Go.
1414

1515
.. contents:: On this page
1616
:local:

source/fundamentals/crud/read-operations/retrieve.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Retrieve Data
55
==============
66

77
.. meta::
8-
:description: Learn how to retrieve data from MongoDB collections using read operations, including find and aggregation methods, with examples in Go.
8+
:description: Learn how to retrieve data by using MongoDB Go Driver read operations, including find and aggregation methods.
99

1010
.. contents:: On this page
1111
:local:

source/fundamentals/crud/read-operations/skip.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Skip Returned Results
55
=====================
66

77
.. meta::
8-
:description: Learn how to skip a specified number of results in MongoDB read operations using the `SetSkip()` method or the `$skip` stage in aggregation pipelines.
8+
:description: Learn how to skip a specified number of results in MongoDB read operations using the setSkip() method or the $skip stage in aggregation pipelines.
99

1010
.. default-domain:: mongodb
1111

source/fundamentals/crud/read-operations/sort.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Sort Results
55
============
66

77
.. meta::
8-
:description: Learn how to sort query results in Go using ascending or descending order, handle ties, and apply sorting in aggregation pipelines.
8+
:description: Learn how to sort query results, handle ties, and apply sorting in aggregation pipelines with the MongoDB Go Driver.
99

1010
.. default-domain:: mongodb
1111

source/fundamentals/crud/read-operations/text.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Search Text
55
===========
66

77
.. meta::
8-
:description: Learn how to perform text searches in MongoDB using Go, including creating text indexes and sorting results by relevance.
8+
:description: Learn how to perform text searches with the MongoDB Go Driver, including creating text indexes and sorting results by relevance.
99

1010
.. contents:: On this page
1111
:local:

source/fundamentals/crud/write-operations/bulk.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Bulk Operations
55
===============
66

77
.. meta::
8-
:description: Learn to perform bulk write operations in Go, including inserts, updates, replacements, and deletions, using the BulkWrite method.
8+
:description: Learn to perform bulk write operations with the MongoDB Go Driver, including inserts, updates, replacements, and deletions, using the bulkWrite() method.
99

1010
.. default-domain:: mongodb
1111

source/fundamentals/crud/write-operations/delete.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Delete Documents
55
================
66

77
.. meta::
8-
:description: Learn how to remove documents from MongoDB collections using delete operations like `DeleteOne()` and `DeleteMany()`, with examples and options.
8+
:description: Learn how to remove documents from collections with the deleteOne() and deleteMany() methods in the MongoDB Go Driver, with examples and options.
99

1010
.. contents:: On this page
1111
:local:

source/fundamentals/crud/write-operations/embedded-arrays.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Update Arrays in a Document
55
===========================
66

77
.. meta::
8-
:description: Learn how to update array elements in MongoDB documents using positional operators and the `FindOneAndUpdate()` method in Go.
8+
:description: Learn how to update array elements in documents using positional operators and the findOneAndUpdate() method in the MongoDB Go Driver.
99

1010
.. contents:: On this page
1111
:local:

source/fundamentals/crud/write-operations/insert.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Insert a Document
1010

1111
.. meta::
1212
:keywords: code example, write operation, add data
13-
:description: Learn how to insert documents into a MongoDB collection using the `InsertOne()` and `InsertMany()` methods, with options to modify their behavior.
13+
:description: Learn how to insert documents into a MongoDB collection using the insertOne() and insertMany() methods, with options to modify their behavior.
1414

1515
.. contents:: On this page
1616
:local:

source/fundamentals/crud/write-operations/modify.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Modify Documents
1010

1111
.. meta::
1212
:keywords: code example, write operation, change data
13-
:description: Learn how to modify MongoDB documents using update and replace operations, including methods like `UpdateOne()`, `UpdateMany()`, and `ReplaceOne()`.
13+
:description: Learn how to modify MongoDB documents using update and replace operations, including methods like updateOne(), updateMany(), and replaceOne().
1414

1515
.. contents:: On this page
1616
:local:

source/fundamentals/gridfs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GridFS
1010

1111
.. meta::
1212
:keywords: code example, large files, storage, images
13-
:description: Learn how to store and retrieve large files in MongoDB using GridFS, which splits files into chunks and manages them in a bucket for efficient access.
13+
:description: Learn how to store and retrieve large files in the MongoDB Go Driver using GridFS, which splits files into chunks and manages them in a bucket for efficient access.
1414

1515
.. contents:: On this page
1616
:local:

source/fundamentals/logging.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Logging
55
=======
66

77
.. meta::
8-
:description: Configure logging in your Go application using the MongoDB driver to record events, set severity levels, and integrate custom or third-party loggers.
8+
:description: Configure logging in your Go application using the MongoDB Go Driver to record events, set severity levels, and integrate custom or third-party loggers.
99

1010
.. contents:: On this page
1111
:local:

source/fundamentals/monitoring/connection-monitoring.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Connection Monitoring
1010

1111
.. meta::
1212
:keywords: code example, performance, monitor
13-
:description: Monitor the Go driver's connection pool by subscribing to connection pool events to optimize performance and understand the client lifecycle.
13+
:description: Monitor the Mongo DB Go Driver's connection pool by subscribing to connection pool events to optimize performance and understand the client lifecycle.
1414

1515
.. contents:: On this page
1616
:local:

source/fundamentals/run-command.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Run a Command
55
=============
66

77
.. meta::
8-
:description: Learn how to execute database commands using the Go driver, including methods for running commands and handling responses.
8+
:description: Learn how to execute database commands using the MongoDB Go Driver, including methods for running commands and handling responses.
99

1010
.. contents:: On this page
1111
:local:

source/issues-and-help.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Issues & Help
1010

1111
.. meta::
1212
:keywords: suggestion, github
13-
:description: Find support for the Go driver through community forums, report bugs or feature requests via JIRA, and contribute with pull requests following guidelines.
13+
:description: Find support for the MongoDB Go Driver through community forums, report bugs or feature requests via JIRA, and create pull requests to contribute.
1414

1515
We are lucky to have a vibrant MongoDB Go community that includes users
1616
with varying levels of experience using the Go driver. We find the quickest

source/usage-examples/bulkWrite.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Perform Bulk Operations
55
=======================
66

77
.. meta::
8-
:description: Perform bulk write operations on a collection using the `BulkWrite()` method in Go, including replace and update actions.
8+
:description: Perform bulk write operations on a collection using the bulkWrite() method in the MongoDB Go Driver, including replace and update actions.
99

1010
You can perform bulk write operations on a collection by using the
1111
``BulkWrite()`` method.

source/usage-examples/command.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Run a Command Example
55
=====================
66

77
.. meta::
8-
:description: Learn how to execute commands on a MongoDB server using the `RunCommand()` method in Go, with an example retrieving database statistics.
8+
:description: Learn how to execute commands on a MongoDB server using the runCommand() method in Go, with an example retrieving database statistics.
99

1010
.. default-domain:: mongodb
1111

source/usage-examples/count.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Count Documents Method Example
55
==============================
66

77
.. meta::
8-
:description: Learn to use `EstimatedDocumentCount()` and `CountDocuments()` methods in Go to approximate and count documents in a MongoDB collection.
8+
:description: Learn to use estimatedDocumentCount() and countDocuments() methods in the MongoDB Go Driver to approximate and count documents in a collection.
99

1010
You can get an approximation on the number of documents in a
1111
collection by using the ``EstimatedDocumentCount()`` method and an exact

source/usage-examples/deleteMany.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Delete Multiple Documents
55
=========================
66

77
.. meta::
8-
:description: Learn how to delete multiple documents from a collection using the `DeleteMany()` method in Go.
8+
:description: Learn how to delete multiple documents from a collection using the deleteMany() method in the MongoDB Go Driver.
99

1010
.. default-domain:: mongodb
1111

source/usage-examples/deleteOne.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Delete a Document
55
=================
66

77
.. meta::
8-
:description: Learn how to delete a document from a collection using the `DeleteOne()` method in Go, demonstrated with a `movies` collection example.
8+
:description: Learn how to delete a document from a collection using the deleteOne() method in the MongoDB Go Driver.
99

1010
You can delete a document in a collection by using the ``DeleteOne()``
1111
method.

source/usage-examples/distinct.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Retrieve Distinct Values of a Field
55
===================================
66

77
.. meta::
8-
:description: Retrieve distinct values of a field in a collection using the `Distinct()` method in Go, demonstrated with a `movies` collection example.
8+
:description: Retrieve distinct values of a field in a collection using the distinct() method in the MongoDB Go Driver.
99

1010
You can retrieve a list of distinct values for a field across a
1111
collection by using the ``Distinct()`` method.

source/usage-examples/find.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Find Multiple Documents
55
=======================
66

77
.. meta::
8-
:description: Find multiple documents in a collection using the `Find()` method in Go, filtering by specific criteria like cuisine type.
8+
:description: Find multiple documents in a collection using the find() method in the MongoDB Go Driver.
99

1010
You can find multiple documents in a collection by using the ``Find()``
1111
method.

source/usage-examples/findOne.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Find a Document
55
===============
66

77
.. meta::
8-
:description: Retrieve a single document from a collection using the `FindOne()` method in Go, with an example filtering by restaurant name.
8+
:description: Retrieve a single document from a collection using the findOne() method in the MongoDB Go Driver.
99

1010
.. default-domain:: mongodb
1111

source/usage-examples/insertMany.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Insert Multiple Documents
55
=========================
66

77
.. meta::
8-
:description: Learn how to insert multiple documents into a MongoDB collection using the `InsertMany()` method in Go.
8+
:description: Learn how to insert multiple documents into a collection using the insertMany() method in the MongoDB Go Driver.
99

1010
.. default-domain:: mongodb
1111

source/usage-examples/insertOne.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Insert a Document Example
55
=========================
66

77
.. meta::
8-
:description: Learn how to insert a document into a MongoDB collection using the `InsertOne()` method in Go, with an example using a `Restaurant` struct.
8+
:description: Learn how to insert a document into a collection using the insertOne() method in the MongoDB Go Driver.
99

1010
.. default-domain:: mongodb
1111

source/usage-examples/replaceOne.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Replace a Document
55
==================
66

77
.. meta::
8-
:description: Learn how to replace a document in a MongoDB collection using the `ReplaceOne()` method with a Go example.
8+
:description: Learn how to replace a document in a MongoDB collection using the replaceOne() method with the MongoDB Go Driver.
99

1010
.. default-domain:: mongodb
1111

source/usage-examples/struct-tagging.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Use Struct Tags
55
===============
66

77
.. meta::
8-
:description: Learn how to use struct tags in Go to control BSON field names when inserting documents with the Go Driver.
8+
:description: Learn how to use struct tags in Go to control BSON field names when inserting documents with the MongoDB Go Driver.
99

1010
You can specify the way that the Go Driver converts Go
1111
structs to :manual:`BSON </reference/bson-types/>` by using struct tags.

source/usage-examples/updateMany.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Update Multiple Documents
55
=========================
66

77
.. meta::
8-
:description: Learn how to update multiple documents in a collection using the `UpdateMany()` method in Go, with an example that adjusts prices in a specific market.
8+
:description: Learn how to update multiple documents in a collection using the updateMany() method in the MongoDB Go Driver.
99

1010
You can update multiple documents in a collection by using the ``UpdateMany()``
1111
method.

source/usage-examples/updateOne.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Update a Document
55
=================
66

77
.. meta::
8-
:description: Learn how to update a document in a collection using the `UpdateOne()` method in Go, including adding a new field to a matched document.
8+
:description: Learn how to update a document in a collection using the updateOne() method in the MongoDB Go Driver.
99

1010
You can update a document in a collection by using the ``UpdateOne()``
1111
method.

0 commit comments

Comments
 (0)