Skip to content

Commit 7107385

Browse files
authored
Merge pull request #488 from mongodb/missing-meta-descriptions
Add missing meta descriptions
2 parents d891830 + d17fce5 commit 7107385

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+141
-0
lines changed

source/compatibility.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Compatibility
55
=============
66

7+
.. meta::
8+
:description: Check the recommended MongoDB Go Driver versions for compatibility with different MongoDB server versions.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

source/connection-troubleshooting.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Connection Troubleshooting
1010

1111
.. meta::
1212
:keywords: code example, disconnected, deployment
13+
:description: Troubleshoot connection issues with the MongoDB Go Driver by verifying connection strings, authentication mechanisms, and firewall settings.
1314

1415
.. contents:: On this page
1516
:local:

source/faq.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ FAQ
1010

1111
.. meta::
1212
:keywords: code example, connection error, question, help
13+
:description: Find answers to common questions about the MongoDB Go Driver, including connection pooling, error handling, and BSON to JSON conversion.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals.txt

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Fundamentals
33
============
44

5+
.. meta::
6+
:description: Explore tasks like connecting to MongoDB, performing transactions, and working with BSON using the MongoDB Go Driver.
7+
58
.. toctree::
69
:titlesonly:
710
:maxdepth: 1

source/fundamentals/aggregation.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Aggregation
55
===========
66

7+
.. meta::
8+
:description: Explore how to use aggregation operations in the MongoDB Go Driver, including examples of grouping, sorting, and filtering data in collections.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

source/fundamentals/auth.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Authentication Mechanisms
55
=========================
66

7+
.. meta::
8+
:description: Learn how to use various authentication mechanisms with the MongoDB Go Driver, including SCRAM, MONGODB-AWS, and X.509.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

source/fundamentals/bson.txt

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Work with BSON
1616

1717
.. meta::
1818
:keywords: code examples, serialization
19+
:description: Learn how the MongoDB Go Driver handles BSON data conversion, including marshalling and unmarshalling, and how to use struct tags and BSON options.
1920

2021
Overview
2122
--------

source/fundamentals/collations.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Collations
55
==========
66

7+
.. meta::
8+
:description: Learn how to use collations in MongoDB to order query results by string values according to specific language and locale conventions.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

source/fundamentals/connections.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Connections
55
===========
66

7+
.. meta::
8+
:description: Explore how to configure connections to a MongoDB deployment using the MongoDB Go Driver, including options for TLS and network compression.
9+
710
.. toctree::
811

912
Connection Guide </fundamentals/connections/connection-guide>

source/fundamentals/connections/network-compression.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Network Compression
55
===================
66

7+
.. meta::
8+
:description: Learn how to enable network compression in the MongoDB Go Driver for MongoDB using Snappy, Zlib, or Zstandard algorithms to reduce data transfer.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

source/fundamentals/connections/tls.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Enable and Configure TLS
1010

1111
.. meta::
1212
:keywords: code example, security, connection options
13+
:description: Learn how to secure your MongoDB connection using TLS by enabling TLS options and configuring certificates in your Go application.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/context.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Context
1010

1111
.. meta::
1212
:keywords: code example, unblock
13+
:description: Learn how to use the context package in Go to manage timeouts and cancellations for blocking method calls in the MongoDB Go driver.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/crud.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
CRUD Operations
55
===============
66

7+
.. meta::
8+
:description: Explore how to perform CRUD operations using the MongoDB Go Driver, including creating, reading, updating, and deleting documents.
9+
710
.. toctree::
811
:caption: CRUD Operations
912

source/fundamentals/crud/compound-operations.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Compound Operations
55
===================
66

7+
.. meta::
8+
:description: Learn how to perform compound operations in MongoDB using Go, combining read and write actions into a single atomic operation to prevent data alteration.
9+
710
.. default-domain:: mongodb
811

912
.. contents:: On this page

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

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Monitor Data Changes
1111

1212
.. meta::
1313
:keywords: code example, delta
14+
:description: Learn how to monitor document changes in MongoDB using change streams, including opening streams and modifying output with pipelines and options.
1415

1516
.. contents:: On this page
1617
:local:

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

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Count Documents
55
===============
66

7+
.. meta::
8+
:description: Learn to count documents in a MongoDB collection using Go, including accurate, estimated, and aggregation-based methods.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

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

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Access Data From a Cursor
1010

1111
.. meta::
1212
:keywords: code example, read operation, see results, iterate
13+
:description: Learn to access data using a cursor in Go, including retrieving documents individually or in batches, and closing the cursor to free resources.
1314

1415
.. contents:: On this page
1516
:local:

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

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +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.
1314

1415
.. contents:: On this page
1516
:local:

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

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Limit the Number of Returned Results
1010

1111
.. meta::
1212
:keywords: read operation, code example, pipeline, customize output
13+
:description: Learn how to limit the number of documents returned in read operations using the MongoDB Go Driver, including examples with sorting and aggregation.
1314

1415
.. contents:: On this page
1516
:local:

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

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Specify Which Fields to Return
1010

1111
.. meta::
1212
:keywords: read, code example, pipeline stage, customize output
13+
:description: Learn how to specify which fields to return in MongoDB documents using projections in Go, including examples for including or excluding fields.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/crud/read-operations/query-document.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Specify a Query
55
===============
66

7+
.. meta::
8+
:description: Learn how to specify queries in Go to match subsets of documents using filters, operators, and various criteria.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

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

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Retrieve Data
55
==============
66

7+
.. meta::
8+
:description: Learn how to retrieve data by using MongoDB Go Driver read operations, including find and aggregation methods.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

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

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Skip Returned Results
55
=====================
66

7+
.. 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.
9+
710
.. default-domain:: mongodb
811

912
.. contents:: On this page

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

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Sort Results
55
============
66

7+
.. meta::
8+
:description: Learn how to sort query results, handle ties, and apply sorting in aggregation pipelines with the MongoDB Go Driver.
9+
710
.. default-domain:: mongodb
811

912
.. contents:: On this page

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

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Search Text
55
===========
66

7+
.. meta::
8+
:description: Learn how to perform text searches with the MongoDB Go Driver, including creating text indexes and sorting results by relevance.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

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

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Bulk Operations
55
===============
66

7+
.. meta::
8+
:description: Learn to perform bulk write operations with the MongoDB Go Driver, including inserts, updates, replacements, and deletions, using the bulkWrite() method.
9+
710
.. default-domain:: mongodb
811

912
.. contents:: On this page

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

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Delete Documents
55
================
66

7+
.. meta::
8+
:description: Learn how to remove documents from collections with the deleteOne() and deleteMany() methods in the MongoDB Go Driver, with examples and options.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

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

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Update Arrays in a Document
55
===========================
66

7+
.. meta::
8+
:description: Learn how to update array elements in documents using positional operators and the findOneAndUpdate() method in the MongoDB Go Driver.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

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

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +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.
1314

1415
.. contents:: On this page
1516
:local:

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

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +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().
1314

1415
.. contents:: On this page
1516
:local:

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

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Insert or Update in a Single Operation
1010

1111
.. meta::
1212
:keywords: code example, write, add data
13+
:description: Learn how to perform an upsert in MongoDB using Go, which updates existing documents or inserts new ones if no match is found.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/crud/write-read-pref.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Modify Execution of CRUD Operations
1010

1111
.. meta::
1212
:keywords: code example, replica set, consistency
13+
:description: Learn how to modify CRUD operations in the MongoDB Go Driver using write concern, read concern, and read preference configurations for replica sets.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/encrypt-fields.txt

+1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66

77
.. meta::
88
:keywords: privacy, security
9+
:description: Use the MongoDB Go Driver to encrypt document fields with in-use encryption, protecting sensitive data like credit card numbers and health information.
910

1011
.. sharedinclude:: dbx/encrypt-fields.rst

source/fundamentals/enterprise-auth.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Enterprise Authentication Mechanisms
1010

1111
.. meta::
1212
:keywords: security, code example, credentials
13+
:description: Learn how to authenticate with the MongoDB Go Driver using Enterprise Edition mechanisms like GSSAPI/Kerberos and LDAP, with examples.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/geo.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Work with Geospatial Data
1010

1111
.. meta::
1212
:keywords: code example, coordinates, location, geographic
13+
:description: Learn to work with geospatial data in the MongoDB Go Driver using GeoJSON and legacy formats, create geospatial indexes, and perform queries.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/gridfs.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +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 the MongoDB Go Driver using GridFS, which splits files into chunks and manages them in a bucket for efficient access.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/indexes.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Indexes
1010

1111
.. meta::
1212
:keywords: code example
13+
:description: Learn how to use indexes in the MongoDB Go Driver to improve query performance and support various operations like updates and deletes.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/logging.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Logging
55
=======
66

7+
.. meta::
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.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

source/fundamentals/monitoring.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Monitoring
55
==========
66

7+
.. meta::
8+
:description: Explore monitoring techniques for cluster configuration, command execution, and connection pool changes in Go.
9+
710
.. toctree::
811
:caption: Monitoring categories
912

source/fundamentals/monitoring/cluster-monitoring.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Cluster Monitoring
1010

1111
.. meta::
1212
:keywords: code example, server, topology
13+
:description: Monitor topology events with the MongoDB Go Driver to track cluster changes, assess health, and perform capacity planning by subscribing to SDAM events.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/monitoring/command-monitoring.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Command Monitoring
1010

1111
.. meta::
1212
:keywords: code example, operation
13+
:description: Learn to monitor MongoDB command events using the Go driver to track query performance and resolve bottlenecks.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/monitoring/connection-monitoring.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Connection Monitoring
1010

1111
.. meta::
1212
:keywords: code example, performance, monitor
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.
1314

1415
.. contents:: On this page
1516
:local:

source/fundamentals/run-command.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Run a Command
55
=============
66

7+
.. meta::
8+
:description: Learn how to execute database commands using the MongoDB Go Driver, including methods for running commands and handling responses.
9+
710
.. contents:: On this page
811
:local:
912
:backlinks: none

source/fundamentals/stable-api.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
{+stable-api+}
55
==============
66

7+
.. meta::
8+
:description: Learn how to specify Stable API compatibility in the MongoDB Go Driver to ensure operations align with a defined API version.
9+
710
.. default-domain:: mongodb
811

912
.. contents:: On this page

0 commit comments

Comments
 (0)