Skip to content

Commit 81f1351

Browse files
authored
DOCSP-35278-shell-crosslinks-batch-2 (#9415) (#9462)
* DOCSP-35278-shell-crosslinks-batch-2 * external review * build error again? (cherry picked from commit a8e7832)
1 parent 6e66331 commit 81f1351

10 files changed

+234
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.. wayfinding:: MongoDB with drivers
2+
3+
.. wayfinding-description::
4+
5+
.. include:: /includes/wayfinding-description.rst
6+
7+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/java/sync/current/usage-examples/deleteMany/
8+
:id: java-sync
9+
10+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/java/reactive-streams-driver/current/get-started/quickstart/#delete-all-documents-that-match-a-filter
11+
:id: java-rs
12+
13+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/csharp/current/usage-examples/deleteMany/
14+
:id: csharp
15+
16+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/tutorial/#deleting-a-document
17+
:id: c
18+
19+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/cpp/cpp-driver/upcoming/write/delete/#delete-operations
20+
:id: cpp
21+
22+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/write/delete/#delete-multiple-documents
23+
:id: pymongo
24+
25+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/node/current/usage-examples/deleteMany/
26+
:id: nodejs
27+
28+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/go/current/usage-examples/deleteMany/
29+
:id: go
30+
31+
.. wayfinding-option:: https://www.mongodb.com/docs/php-library/current/reference/method/MongoDBCollection-deleteMany/
32+
:id: php
33+
34+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/scala/scala-driver/current/get-started/quickstart/#delete-all-documents-that-match-a-filter
35+
:id: scala
36+
37+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/kotlin/coroutine/current/fundamentals/crud/write-operations/delete/#delete-documents
38+
:id: kotlin-coroutine
39+
40+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/write/delete/
41+
:id: kotlin-sync
42+
43+
.. wayfinding-option:: https://www.mongodb.com/docs/mongoid/current/reference/crud/
44+
:id: mongoid
45+
46+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/rust/current/fundamentals/crud/write-operations/delete/
47+
:id: rust
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
.. wayfinding:: MongoDB with drivers
2+
3+
.. wayfinding-description::
4+
5+
.. include:: /includes/wayfinding-description.rst
6+
7+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/java/sync/current/usage-examples/deleteOne/
8+
:id: java-sync
9+
10+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/java/reactive-streams-driver/current/get-started/quickstart/#delete-a-single-document-that-matches-a-filter
11+
:id: java-rs
12+
13+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/csharp/current/usage-examples/deleteOne/
14+
:id: csharp
15+
16+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/cpp/cpp-driver/upcoming/write/delete/#delete-operations
17+
:id: cpp
18+
19+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/write/delete/#delete-one-document
20+
:id: pymongo
21+
22+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/node/current/usage-examples/deleteOne/
23+
:id: nodejs
24+
25+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/go/current/fundamentals/crud/write-operations/delete
26+
:id: go
27+
28+
.. wayfinding-option:: https://www.mongodb.com/docs/php-library/current/reference/method/MongoDBCollection-deleteOne/
29+
:id: php
30+
31+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/scala/scala-driver/current/get-started/quickstart/#delete-documents
32+
:id: scala
33+
34+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/kotlin/coroutine/current/fundamentals/crud/write-operations/delete/#delete-documents
35+
:id: kotlin-coroutine
36+
37+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/write/delete/
38+
:id: kotlin-sync
39+
40+
.. wayfinding-option:: https://www.mongodb.com/docs/mongoid/current/reference/crud/
41+
:id: mongoid
42+
43+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/rust/current/fundamentals/crud/write-operations/delete/
44+
:id: rust
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
.. wayfinding:: MongoDB with drivers
2+
3+
.. wayfinding-description::
4+
5+
.. include:: /includes/wayfinding-description.rst
6+
7+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/java/sync/current/usage-examples/distinct/
8+
:id: java-sync
9+
10+
.. wayfinding-option:: https://mongodb.github.io/mongo-java-driver/5.1/apidocs/mongodb-driver-reactivestreams/com/mongodb/reactivestreams/client/MongoCollection.html#distinct(java.lang.String,java.lang.Class)
11+
:id: java-rs
12+
13+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/csharp/current/quick-reference/#quick-reference
14+
:id: csharp
15+
16+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/cpp/cpp-driver/upcoming/read/distinct/#distinct---method
17+
:id: cpp
18+
19+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/read/distinct/
20+
:id: pymongo
21+
22+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/node/current/fundamentals/crud/read-operations/distinct/
23+
:id: nodejs
24+
25+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/go/master/fundamentals/crud/read-operations/distinct/#distinct
26+
:id: go
27+
28+
.. wayfinding-option:: https://www.mongodb.com/docs/php-library/current/reference/method/MongoDBCollection-distinct/
29+
:id: php
30+
31+
.. wayfinding-option:: https://mongodb.github.io/mongo-java-driver/5.1/apidocs/mongo-scala-driver/org/mongodb/scala/MongoCollection.html#distinct[C](fieldName:String,filter:org.mongodb.scala.bson.conversions.Bson)(implicitct:scala.reflect.ClassTag[C]):org.mongodb.scala.DistinctObservable[C]
32+
:id: scala
33+
34+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/kotlin/coroutine/current/usage-examples/distinct/
35+
:id: kotlin-coroutine
36+
37+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/read/distinct/
38+
:id: kotlin-sync
39+
40+
.. wayfinding-option:: https://www.rubydoc.info/github/mongoid/mongoid/Mongoid%2FContextual%2FMongo:distinct
41+
:id: mongoid
42+
43+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/rust/current/usage-examples/distinct/
44+
:id: rust
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.. wayfinding:: MongoDB with drivers
2+
3+
.. wayfinding-description::
4+
5+
.. include:: /includes/wayfinding-description.rst
6+
7+
.. wayfinding-option:: https://mongodb.github.io/mongo-java-driver/5.1/apidocs/mongodb-driver-sync/com/mongodb/client/MongoCollection.html#drop()
8+
:id: java-sync
9+
10+
.. wayfinding-option:: https://mongodb.github.io/mongo-java-driver/5.1/apidocs/mongodb-driver-reactivestreams/com/mongodb/reactivestreams/client/gridfs/GridFSBucket.html#drop()
11+
:id: java-rs
12+
13+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/csharp/current/fundamentals/database-collection/#drop-a-collection
14+
:id: csharp
15+
16+
.. wayfinding-option:: https://mongoc.org/libmongoc/current/mongoc_collection_drop.html
17+
:id: c
18+
19+
.. wayfinding-option:: https://mongocxx.org/api/mongocxx-3.0.2/classmongocxx_1_1collection.html#a2e6f9689b531a0be1e5b202177bb163d
20+
:id: cpp
21+
22+
.. wayfinding-option:: https://pymongo.readthedocs.io/en/stable/api/pymongo/collection.html#pymongo.collection.Collection.drop
23+
:id: pymongo
24+
25+
.. wayfinding-option:: https://mongodb.github.io/node-mongodb-native/3.6/api/Collection.html#drop
26+
:id: nodejs
27+
28+
.. wayfinding-option:: https://www.mongodb.com/blog/post/quick-start-golang--mongodb--how-to-delete-documents
29+
:id: go
30+
31+
.. wayfinding-option:: https://www.mongodb.com/docs/php-library/current/reference/method/MongoDBCollection-drop/
32+
:id: php
33+
34+
.. wayfinding-option:: https://mongodb.github.io/mongo-scala-driver/2.0/scaladoc/org/mongodb/scala/SingleObservable.html
35+
:id: scala
36+
37+
.. wayfinding-option:: https://mongodb.github.io/mongo-java-driver/5.1/apidocs/mongodb-driver-kotlin-coroutine/mongodb-driver-kotlin-coroutine/com.mongodb.kotlin.client.coroutine/-mongo-collection/drop.html
38+
:id: kotlin-coroutine
39+
40+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/kotlin/coroutine/current/fundamentals/databases-collections/#drop-a-collection
41+
:id: kotlin-sync
42+
43+
.. wayfinding-option:: https://www.rubydoc.info/gems/mongoid/2.8.1/Mongoid/Collection#drop-instance_method
44+
:id: mongoid
45+
46+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/rust/current/fundamentals/database-collection/#drop-a-database
47+
:id: rust
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.. wayfinding:: MongoDB with drivers
2+
3+
.. wayfinding-description::
4+
5+
.. include:: /includes/wayfinding-description.rst
6+
7+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/java/sync/current/fundamentals/indexes/#remove-an-index-using-an-index-specification-document
8+
:id: java-sync
9+
10+
.. wayfinding-option:: https://mongodb.github.io/mongo-java-driver/5.1/apidocs/mongodb-driver-reactivestreams/com/mongodb/reactivestreams/client/MongoCollection.html#dropIndex(org.bson.conversions.Bson)
11+
:id: java-rs
12+
13+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/csharp/upcoming/fundamentals/indexes/#drop-a-search-index
14+
:id: csharp
15+
16+
.. wayfinding-option:: https://mongoc.org/libmongoc/current/mongoc_collection_drop_index.html
17+
:id: c
18+
19+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/cpp/cpp-driver/upcoming/work-with-indexes/#remove-an-index
20+
:id: cpp
21+
22+
.. wayfinding-option:: https://pymongo.readthedocs.io/en/stable/api/pymongo/collection.html#pymongo.collection.Collection.drop_index
23+
:id: pymongo
24+
25+
.. wayfinding-option:: https://mongodb.github.io/node-mongodb-native/3.6/api/Collection.html#dropIndex
26+
:id: nodejs
27+
28+
.. wayfinding-option:: https://pkg.go.dev/github.com/GabrielHCataldo/go-mongo-template/mongo/option#DropIndex
29+
:id: go
30+
31+
.. wayfinding-option:: https://www.mongodb.com/docs/php-library/current/tutorial/indexes/#drop-indexes
32+
:id: php
33+
34+
.. wayfinding-option:: https://mongodb.github.io/mongo-scala-driver/2.0/scaladoc/org/mongodb/scala/MongoCollection.html#dropIndex(indexName:String):org.mongodb.scala.SingleObservable[org.mongodb.scala.Completed]
35+
:id: scala
36+
37+
.. wayfinding-option:: https://mongodb.github.io/mongo-scala-driver/2.0/scaladoc/org/mongodb/scala/MongoCollection.html#dropIndex(indexName:String):org.mongodb.scala.SingleObservable[org.mongodb.scala.Completed]
38+
:id: kotlin-coroutine
39+
40+
.. wayfinding-option:: https://www.mongodb.com/docs/languages/kotlin/kotlin-sync-driver/current/work-with-indexes/#delete-a-single-index
41+
:id: kotlin-sync
42+
43+
.. wayfinding-option:: https://www.rubydoc.info/gems/mongoid/3.1.6/Rails%2FMongoid:remove_indexes
44+
:id: mongoid
45+
46+
.. wayfinding-option:: https://www.mongodb.com/docs/drivers/rust/current/fundamentals/indexes/#remove-an-index
47+
:id: rust

source/reference/method/db.collection.deleteMany.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Definition
2323
.. method:: db.collection.deleteMany()
2424

2525
.. |dbcommand| replace:: :dbcommand:`delete` command
26-
.. include:: /includes/fact-mongosh-shell-method-alt
26+
.. include:: /includes/wayfinding/mongosh-method-deleteMany.rst
2727

2828
Removes all documents that match the ``filter`` from a collection.
2929

source/reference/method/db.collection.deleteOne.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ Definition
2222

2323
.. method:: db.collection.deleteOne()
2424

25-
.. |dbcommand| replace:: :dbcommand:`delete` command
26-
.. include:: /includes/fact-mongosh-shell-method-alt
25+
.. include:: /includes/wayfinding/mongosh-method-deleteOne.rst
2726

2827
Removes a single document from a collection.
2928

source/reference/method/db.collection.distinct.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Definition
2424

2525

2626
.. |dbcommand| replace:: :dbcommand:`distinct` command
27-
.. include:: /includes/fact-mongosh-shell-method-alt.rst
27+
.. include:: includes/wayfinding/mongosh-method-distinct.rst
2828

2929

3030
Finds the distinct

source/reference/method/db.collection.drop.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Definition
2525
.. method:: db.collection.drop(<options>)
2626

2727
.. |dbcommand| replace:: :dbcommand:`drop` command
28-
.. include:: /includes/fact-mongosh-shell-method-alt
28+
.. include:: /includes/wayfinding/mongosh-method-drop.rst
2929

3030
Removes a collection or :doc:`view </core/views>` from the database.
3131
The method also removes any indexes associated with the dropped

source/reference/method/db.collection.dropIndex.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Definition
1717

1818

1919
.. |dbcommand| replace:: :dbcommand:`dropIndexes` command
20-
.. include:: /includes/fact-mongosh-shell-method-alt.rst
20+
.. include:: /includes/wayfinding/mongosh-method-dropIndex.rst
2121

2222

2323
Drops or removes the specified index from a collection.

0 commit comments

Comments
 (0)