Skip to content

Commit 6b6f7b3

Browse files
authored
Merge pull request #174 from mongodb/v2.0
DOCSP-44608: merge v2 into master
2 parents 633fb0a + f4033f5 commit 6b6f7b3

File tree

196 files changed

+188
-1375
lines changed

Some content is hidden

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

196 files changed

+188
-1375
lines changed

snooty.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ toc_landing_pages = [
1717
"/reference/class/MongoDBInsertManyResult",
1818
"/reference/class/MongoDBUpdateResult",
1919
"/reference/class/MongoDBChangeStream",
20-
"/reference/class/MongoDBMapReduceResult",
2120
"/reference/class/MongoDBModelCollectionInfo",
2221
"/reference/class/MongoDBModelDatabaseInfo",
2322
"/reference/class/MongoDBModelIndexInfo",

source/data-formats/codecs.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Codecs
55
======
66

7-
.. default-domain:: mongodb
87

98
.. contents:: On this page
109
:local:

source/data-formats/custom-types.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Custom Data-Types
55
=================
66

7-
.. default-domain:: mongodb
87

98
.. note::
109

source/data-formats/decimal128.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Decimal128
55
==========
66

7-
.. default-domain:: mongodb
87

98
.. contents:: On this page
109
:local:

source/data-formats/modeling-bson-data.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Modeling BSON Data
55
==================
66

7-
.. default-domain:: mongodb
87

98
.. contents:: On this page
109
:local:

source/faq.txt

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

7-
.. default-domain:: mongodb
87

98
.. contents:: On this page
109
:local:

source/includes/databases-collections/databases-collections.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
// Explicitly creates the "example_collection" collection
3232
// start-create-collection
33-
$result = $client->test_database->createCollection('example_collection');
33+
$client->test_database->createCollection('example_collection');
3434
// end-create-collection
3535

3636
// Lists the collections in the "test_database" database

source/includes/databases-collections/time-series.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
]
1717
];
1818

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

2222
// Lists the collections in the "precipitation" database

source/includes/read/cursor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// Creates a collection with a maximum size and inserts documents representing vegetables
3333
// start-capped-coll
3434
$db = $client->db;
35-
$create_coll = $db->createCollection(
35+
$db->createCollection(
3636
'vegetables',
3737
['capped' => true, 'size' => 1024 * 1024]
3838
);

source/indexes/index-mgmt.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ You can delete all indexes by calling the
127127
:end-before: end-remove-all-indexes
128128
:dedent:
129129

130-
The ``dropIndexes()`` method returns information about the number of
131-
indexes removed and a success message.
132-
133130
API Documentation
134131
~~~~~~~~~~~~~~~~~
135132

0 commit comments

Comments
 (0)