Skip to content

DOCSP-44608: merge v2 into master #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ toc_landing_pages = [
"/reference/class/MongoDBInsertManyResult",
"/reference/class/MongoDBUpdateResult",
"/reference/class/MongoDBChangeStream",
"/reference/class/MongoDBMapReduceResult",
"/reference/class/MongoDBModelCollectionInfo",
"/reference/class/MongoDBModelDatabaseInfo",
"/reference/class/MongoDBModelIndexInfo",
Expand Down
1 change: 0 additions & 1 deletion source/data-formats/codecs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Codecs
======

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/data-formats/custom-types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Custom Data-Types
=================

.. default-domain:: mongodb

.. note::

Expand Down
1 change: 0 additions & 1 deletion source/data-formats/decimal128.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Decimal128
==========

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/data-formats/modeling-bson-data.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Modeling BSON Data
==================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/faq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Frequently Asked Questions
==========================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

// Explicitly creates the "example_collection" collection
// start-create-collection
$result = $client->test_database->createCollection('example_collection');
$client->test_database->createCollection('example_collection');
// end-create-collection

// Lists the collections in the "test_database" database
Expand Down
2 changes: 1 addition & 1 deletion source/includes/databases-collections/time-series.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
]
];

$collection = $db->createCollection('sept2023', $options);
$db->createCollection('sept2023', $options);
// end-create-ts

// Lists the collections in the "precipitation" database
Expand Down
2 changes: 1 addition & 1 deletion source/includes/read/cursor.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// Creates a collection with a maximum size and inserts documents representing vegetables
// start-capped-coll
$db = $client->db;
$create_coll = $db->createCollection(
$db->createCollection(
'vegetables',
['capped' => true, 'size' => 1024 * 1024]
);
Expand Down
3 changes: 0 additions & 3 deletions source/indexes/index-mgmt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ You can delete all indexes by calling the
:end-before: end-remove-all-indexes
:dedent:

The ``dropIndexes()`` method returns information about the number of
indexes removed and a success message.

API Documentation
~~~~~~~~~~~~~~~~~

Expand Down
1 change: 0 additions & 1 deletion source/reference.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
API Documentation
=================

.. default-domain:: mongodb

.. toctree::
:titlesonly:
Expand Down
1 change: 0 additions & 1 deletion source/reference/bson.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
BSON
====

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/reference/class/MongoDBClient.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\Client Class
=====================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
3 changes: 0 additions & 3 deletions source/reference/class/MongoDBCollection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\Collection Class
=========================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down Expand Up @@ -78,7 +77,6 @@ Methods
insertOne() </reference/method/MongoDBCollection-insertOne>
listIndexes() </reference/method/MongoDBCollection-listIndexes>
listSearchIndexes() </reference/method/MongoDBCollection-listSearchIndexes>
mapReduce() </reference/method/MongoDBCollection-mapReduce>
rename() </reference/method/MongoDBCollection-rename>
replaceOne() </reference/method/MongoDBCollection-replaceOne>
updateMany() </reference/method/MongoDBCollection-updateMany>
Expand Down Expand Up @@ -122,7 +120,6 @@ Methods
- :phpmethod:`MongoDB\Collection::insertOne()`
- :phpmethod:`MongoDB\Collection::listIndexes()`
- :phpmethod:`MongoDB\Collection::listSearchIndexes()`
- :phpmethod:`MongoDB\Collection::mapReduce()`
- :phpmethod:`MongoDB\Collection::rename()`
- :phpmethod:`MongoDB\Collection::replaceOne()`
- :phpmethod:`MongoDB\Collection::updateMany()`
Expand Down
1 change: 0 additions & 1 deletion source/reference/class/MongoDBDatabase.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\Database Class
=======================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/reference/class/MongoDBGridFSBucket.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\GridFS\\Bucket Class
=============================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
34 changes: 0 additions & 34 deletions source/reference/class/MongoDBMapReduceResult.txt

This file was deleted.

7 changes: 4 additions & 3 deletions source/reference/class/MongoDBModelCollectionInfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Definition

.. phpclass:: MongoDB\Model\CollectionInfo

This class models information about a collection. Instances of this class are
returned by traversing a :phpclass:`MongoDB\Model\CollectionInfoIterator`,
which is returned by :phpmethod:`MongoDB\Database::listCollections()`.
This class models information about a collection. Instances of this
class are returned by traversing an :php:`Iterator
<manual/en/class.iterator.php>`, which is returned by the
:phpmethod:`MongoDB\Database::listCollections()` method.

.. versionchanged:: 1.4

Expand Down
20 changes: 0 additions & 20 deletions source/reference/class/MongoDBModelCollectionInfoIterator.txt

This file was deleted.

7 changes: 4 additions & 3 deletions source/reference/class/MongoDBModelDatabaseInfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Definition

.. phpclass:: MongoDB\Model\DatabaseInfo

This class models information about a database. Instances of this class are
returned by traversing a :phpclass:`MongoDB\Model\DatabaseInfoIterator`,
which is returned by :phpmethod:`MongoDB\Client::listDatabases()`.
This class models information about a database. Instances of this
class are returned by traversing an :php:`Iterator
<manual/en/class.iterator.php>`, which is returned by the
:phpmethod:`MongoDB\Client::listDatabases()` method.

.. versionchanged:: 1.4

Expand Down
20 changes: 0 additions & 20 deletions source/reference/class/MongoDBModelDatabaseInfoIterator.txt

This file was deleted.

9 changes: 4 additions & 5 deletions source/reference/class/MongoDBModelIndexInfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Definition

.. phpclass:: MongoDB\Model\IndexInfo

This class models information about an index. Instances of this class are
returned by traversing a :phpclass:`MongoDB\Model\IndexInfoIterator`,
which is returned by :phpmethod:`MongoDB\Collection::listIndexes()`.
This class models information about an index. Instances of this
class are returned by traversing an :php:`Iterator
<manual/en/class.iterator.php>`, which is returned by the
:phpmethod:`MongoDB\Collection::listIndexes()` method.

This class implements PHP's :php:`ArrayAccess <arrayaccess>` interface. This
provides a mechanism for accessing index fields for which there exists no
Expand All @@ -33,7 +34,6 @@ Methods
getNamespace() </reference/method/MongoDBModelIndexInfo-getNamespace>
getVersion() </reference/method/MongoDBModelIndexInfo-getVersion>
is2dSphere() </reference/method/MongoDBModelIndexInfo-is2dSphere>
isGeoHaystack() </reference/method/MongoDBModelIndexInfo-isGeoHaystack>
isSparse() </reference/method/MongoDBModelIndexInfo-isSparse>
isText() </reference/method/MongoDBModelIndexInfo-isText>
isTtl() </reference/method/MongoDBModelIndexInfo-isTtl>
Expand All @@ -44,7 +44,6 @@ Methods
- :phpmethod:`MongoDB\Model\IndexInfo::getNamespace()`
- :phpmethod:`MongoDB\Model\IndexInfo::getVersion()`
- :phpmethod:`MongoDB\Model\IndexInfo::is2dSphere()`
- :phpmethod:`MongoDB\Model\IndexInfo::isGeoHaystack()`
- :phpmethod:`MongoDB\Model\IndexInfo::isSparse()`
- :phpmethod:`MongoDB\Model\IndexInfo::isText()`
- :phpmethod:`MongoDB\Model\IndexInfo::isTtl()`
Expand Down
20 changes: 0 additions & 20 deletions source/reference/class/MongoDBModelIndexInfoIterator.txt

This file was deleted.

1 change: 0 additions & 1 deletion source/reference/exception-classes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Exception Classes
=================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/reference/function/add_logger.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ MongoDB\\add_logger()

.. versionadded:: 1.17

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/reference/function/remove_logger.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ MongoDB\\remove_logger()

.. versionadded:: 1.17

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/reference/function/with_transaction.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\with_transaction()
===========================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
1 change: 0 additions & 1 deletion source/reference/functions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Functions
=========

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\BulkWriteResult::getDeletedCount()
===========================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\BulkWriteResult::getInsertedCount()
============================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\BulkWriteResult::getInsertedIds()
==========================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\BulkWriteResult::getMatchedCount()
===========================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\BulkWriteResult::getModifiedCount()
============================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
MongoDB\\BulkWriteResult::getUpsertedCount()
============================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
Expand Down
Loading
Loading