Skip to content

Commit 27b7c4e

Browse files
committed
Add missing meta descriptions
1 parent 8aac0de commit 27b7c4e

File tree

80 files changed

+238
-0
lines changed

Some content is hidden

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

80 files changed

+238
-0
lines changed

source/faq.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Frequently Asked Questions
55
==========================
66

7+
.. meta::
8+
:description: Find solutions to common PHP extension installation errors, connection handling, and server selection failures when using the MongoDB PHP library.
9+
710

811
.. contents:: On this page
912
:local:

source/index.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB PHP Library
33
===================
44

5+
.. meta::
6+
:description: Explore the MongoDB PHP Library for high-level database operations, including installation, connection, data manipulation, and deployment on AWS Lambda.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
API Documentation
33
=================
44

5+
.. meta::
6+
:description: Explore the PHP library API reference for detailed information on available methods and classes.
7+
58

69
.. toctree::
710
:titlesonly:

source/reference/bson.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
BSON
33
====
44

5+
.. meta::
6+
:description: Understand how BSON documents and arrays are represented and serialized in the MongoDB PHP Library using BSONDocument and BSONArray classes.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/class/MongoDBClient.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client Class
33
=====================
44

5+
.. meta::
6+
:description: Explore the MongoDB\Client class, which serves as the entry point for connecting to MongoDB servers and accessing databases and collections in PHP.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/class/MongoDBCollection.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection Class
33
=========================
44

5+
.. meta::
6+
:description: Explore methods for performing CRUD operations and index management with the MongoDB\\Collection class in PHP.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/class/MongoDBDatabase.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Database Class
33
=======================
44

5+
.. meta::
6+
:description: Explore methods for database operations and collection management using the `MongoDB\\Database` class in PHP.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/class/MongoDBGridFSBucket.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\GridFS\\Bucket Class
33
=============================
44

5+
.. meta::
6+
:description: Explore the `MongoDB\GridFS\Bucket` class for managing file storage and retrieval in MongoDB using PHP Streams.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/exception-classes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Exception Classes
33
=================
44

5+
.. meta::
6+
:description: Explore various exception classes in the PHP library for MongoDB, detailing their usage and inheritance.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBClient-addSubscriber.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::addSubscriber()
33
================================
44

5+
.. meta::
6+
:description: Register a monitoring event subscriber with a MongoDB Client to receive notifications of all events for that Client.
7+
58
.. versionadded:: 1.18
69

710

source/reference/method/MongoDBClient-createClientEncryption.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::createClientEncryption()
33
=========================================
44

5+
.. meta::
6+
:description: Create a ClientEncryption object in PHP for manual encryption and decryption of values using MongoDB's `createClientEncryption()` method.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBClient-dropDatabase.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::dropDatabase()
33
===============================
44

5+
.. meta::
6+
:description: Drop a database on the server using `MongoDB\Client::dropDatabase()` with options for comments, sessions, type maps, and write concerns.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/method/MongoDBClient-getManager.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::getManager()
33
=============================
44

5+
.. meta::
6+
:description: Access the MongoDB\Driver\Manager used by a Client with the getManager() method.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBClient-getReadConcern.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::getReadConcern()
33
=================================
44

5+
.. meta::
6+
:description: Retrieve the read concern level set for a MongoDB client using the `getReadConcern()` method.
7+
58
.. versionadded:: 1.2
69

710

source/reference/method/MongoDBClient-getReadPreference.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::getReadPreference()
33
====================================
44

5+
.. meta::
6+
:description: Retrieve the read preference setting for a MongoDB client using the `getReadPreference()` method.
7+
58
.. versionadded:: 1.2
69

710

source/reference/method/MongoDBClient-getTypeMap.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::getTypeMap()
33
=============================
44

5+
.. meta::
6+
:description: Retrieve the type map for a MongoDB client using the `getTypeMap()` method in PHP.
7+
58
.. versionadded:: 1.2
69

710

source/reference/method/MongoDBClient-getWriteConcern.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::getWriteConcern()
33
==================================
44

5+
.. meta::
6+
:description: Retrieve the write concern for a MongoDB client using the `getWriteConcern()` method in PHP.
7+
58
.. versionadded:: 1.2
69

710

source/reference/method/MongoDBClient-listDatabaseNames.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::listDatabaseNames()
33
====================================
44

5+
.. meta::
6+
:description: Retrieve database names from a MongoDB server using the `listDatabaseNames()` method with optional parameters for filtering and session management.
7+
58
.. versionadded:: 1.7
69

710

source/reference/method/MongoDBClient-listDatabases.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::listDatabases()
33
================================
44

5+
.. meta::
6+
:description: Retrieve information for all databases on the server using `MongoDB\Client::listDatabases()` with optional parameters for filtering and session association.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/method/MongoDBClient-removeSubscriber.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::removeSubscriber()
33
===================================
44

5+
.. meta::
6+
:description: Unregister a monitoring event subscriber from a MongoDB client using the `removeSubscriber()` method.
7+
58
.. versionadded:: 1.18
69

710

source/reference/method/MongoDBClient-selectCollection.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::selectCollection()
33
===================================
44

5+
.. meta::
6+
:description: Select a collection on the server using `MongoDB\Client::selectCollection()` with customizable options for read and write concerns.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/method/MongoDBClient-selectDatabase.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::selectDatabase()
33
=================================
44

5+
.. meta::
6+
:description: Select a database on the server using `MongoDB\Client::selectDatabase()`, with options for read and write concerns, read preference, and type mapping.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/method/MongoDBClient-startSession.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::startSession()
33
===============================
44

5+
.. meta::
6+
:description: Start a new client session in PHP using `MongoDB\Client::startSession()` and handle potential exceptions.
7+
58
.. versionadded:: 1.3
69

710

source/reference/method/MongoDBClient-watch.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::watch()
33
========================
44

5+
.. meta::
6+
:description: Execute a change stream operation on the client to monitor cluster-level changes using `MongoDB\Client::watch()`.
7+
58
.. versionadded:: 1.4
69

710

source/reference/method/MongoDBClient__construct.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::__construct()
33
==============================
44

5+
.. meta::
6+
:description: Learn how to construct a new MongoDB Client instance in PHP, including options for connection strings, authentication, SSL, and custom type maps.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBClient__get.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Client::__get()
33
========================
44

5+
.. meta::
6+
:description: Access a database on the server using the `MongoDB\Client::__get()` method, which acts as an alias for `selectDatabase()`.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBCollection-aggregate.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::aggregate()
33
================================
44

5+
.. meta::
6+
:description: Execute an aggregation framework pipeline operation on a collection using `MongoDB\Collection::aggregate()` with various customizable options.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBCollection-bulkWrite.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::bulkWrite()
33
================================
44

5+
.. meta::
6+
:description: Execute multiple write operations in MongoDB using `bulkWrite()` with options for write concern, session, and more.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBCollection-count.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::count()
33
============================
44

5+
.. meta::
6+
:description: Count documents matching filter criteria using `MongoDB\Collection::count()`, with options for collation, hint, limit, and more.
7+
58
.. deprecated:: 1.4
69

710

source/reference/method/MongoDBCollection-countDocuments.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::countDocuments()
33
=====================================
44

5+
.. meta::
6+
:description: Count documents in a collection matching filter criteria using `MongoDB\Collection::countDocuments()` with various options for customization.
7+
58
.. versionadded:: 1.4
69

710

source/reference/method/MongoDBCollection-createIndex.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::createIndex()
33
==================================
44

5+
.. meta::
6+
:description: Create an index in a MongoDB collection using `createIndex()` with options for collation, TTL, uniqueness, and more.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBCollection-createIndexes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::createIndexes()
33
====================================
44

5+
.. meta::
6+
:description: Create one or more indexes for a collection using `MongoDB\Collection::createIndexes()` with options for unique, compound, and 2dsphere indexes.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/method/MongoDBCollection-createSearchIndex.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::createSearchIndex()
33
========================================
44

5+
.. meta::
6+
:description: Create an Atlas Search or Vector Search index for a collection using `MongoDB\Collection::createSearchIndex()` in PHP, specifying index type and options.
7+
58
.. versionadded:: 1.17
69

710
.. contents:: On this page

source/reference/method/MongoDBCollection-createSearchIndexes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::createSearchIndexes()
33
==========================================
44

5+
.. meta::
6+
:description: Create Atlas Search or Vector Search indexes for a collection using `createSearchIndexes()` in PHP, specifying index definitions and options.
7+
58
.. versionadded:: 1.17
69

710

source/reference/method/MongoDBCollection-deleteMany.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::deleteMany()
33
=================================
44

5+
.. meta::
6+
:description: Delete multiple documents in a collection using `deleteMany()` with options for collation, hint, and write concern.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBCollection-deleteOne.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::deleteOne()
33
================================
44

5+
.. meta::
6+
:description: Delete a single document matching filter criteria using `MongoDB\Collection::deleteOne()` with options for collation, hint, and write concern.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBCollection-distinct.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::distinct()
33
===============================
44

5+
.. meta::
6+
:description: Find distinct values for a specified field in a MongoDB collection using the `distinct()` method, with options for filtering and additional parameters.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/method/MongoDBCollection-drop.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::drop()
33
===========================
44

5+
.. meta::
6+
:description: Explore how to use the `MongoDB\Collection::drop()` method to remove a collection, including options for write concern and session management.
7+
58

69
.. contents:: On this page
710
:local:

source/reference/method/MongoDBCollection-dropIndex.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::dropIndex()
33
================================
44

5+
.. meta::
6+
:description: Drop an index from a collection using `MongoDB\Collection::dropIndex()` with options for session, write concern, and more.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

source/reference/method/MongoDBCollection-dropIndexes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MongoDB\\Collection::dropIndexes()
33
==================================
44

5+
.. meta::
6+
:description: Drop all indexes in a MongoDB collection except the `_id` index using the `dropIndexes()` method, with options for comments, time limits, and write concerns.
7+
58
.. contents:: On this page
69
:local:
710
:backlinks: none

0 commit comments

Comments
 (0)