@@ -35,18 +35,18 @@ Access a Database
3535-----------------
3636
3737You can access a database by retrieving an `IMongoDatabase
38- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.html>`__
38+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.html>`__
3939instance from your ``IMongoClient`` instance. You can use
4040the returned ``IMongoDatabase`` instance to perform database-level operations and access
4141collections that the database contains.
4242
4343To create an ``IMongoDatabase``, call the `GetDatabase()
44- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.GetDatabase.html>`__
44+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.GetDatabase.html>`__
4545method on an `IMongoClient
46- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.html>`__
46+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.html>`__
4747instance, passing the database name as a
4848parameter. You can also pass an optional `MongoDatabaseSettings
49- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.MongoDatabaseSettings.html>`__
49+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoDatabaseSettings.html>`__
5050as a parameter to customize how you access a database.
5151
5252If you pass the name of a nonexistent database to the ``GetDatabase()``
@@ -68,16 +68,16 @@ List Databases
6868
6969To see a list of your deployment's databases, call the
7070asynchronous `ListDatabaseNamesAsync()
71- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabaseNamesAsync.html>`__
71+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabaseNamesAsync.html>`__
7272method or synchronous `ListDatabaseNames()
73- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabaseNames.html>`__ method on
73+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabaseNames.html>`__ method on
7474your ``IMongoClient`` instance.
7575
7676To see detailed information about each database, call the
7777asynchronous `ListDatabasesAsync()
78- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabasesAsync.html>`__
78+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabasesAsync.html>`__
7979method or synchronous `ListDatabases()
80- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabases.html>`__ method on
80+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabases.html>`__ method on
8181your ``IMongoClient`` instance. These methods return fields describing
8282the databases in the cluster, such as their sizes and whether they contain data.
8383
@@ -109,9 +109,9 @@ Drop a Database
109109Dropping a database permanently deletes all the data in that database's
110110collections. To drop a database, call the
111111asynchronous `DropDatabaseAsync()
112- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.DropDatabaseAsync.html>`__
112+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.DropDatabaseAsync.html>`__
113113method or synchronous `DropDatabase()
114- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.DropDatabase.html>`__
114+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.DropDatabase.html>`__
115115method on your ``IMongoClient`` instance, passing the database name as
116116the parameter.
117117
@@ -147,14 +147,14 @@ Access a Collection
147147-------------------
148148
149149You can access a collection by retrieving an `IMongoCollection
150- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.html>`__
150+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.html>`__
151151instance from your database. You can use an ``IMongoCollection``
152152instance to perform data operations,
153153create aggregations, and manage indexes. To retrieve an
154154``IMongoCollection``, call the `GetCollection()
155- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.GetCollection.html>`__
155+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.GetCollection.html>`__
156156method on an ``IMongoDatabase`` instance. You can also pass an optional `MongoCollectionSettings
157- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.MongoCollectionSettings.html>`__
157+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoCollectionSettings.html>`__
158158as a parameter to customize how you access a collection.
159159
160160If you pass the name of a nonexistent collection to this method, the
@@ -206,14 +206,14 @@ Create a Collection
206206
207207You can explicitly create a collection by calling the
208208asynchronous `CreateCollectionAsync()
209- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollectionAsync.html>`__
209+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollectionAsync.html>`__
210210method or synchronous `CreateCollection()
211- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollection.html>`__
211+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollection.html>`__
212212method on your ``IMongoDatabase`` instance.
213213
214214This method takes the collection name and an
215215optional `CreateCollectionOptions
216- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.CreateCollectionOptions.html>`__ type as
216+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.CreateCollectionOptions.html>`__ type as
217217parameters. You can then access the created collection to perform data
218218operations, create aggregations, and manage indexes.
219219
@@ -245,16 +245,16 @@ List Collections
245245
246246To see a list of collections in a database, call the
247247asynchronous `ListCollectionNamesAsync()
248- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionNamesAsync.html>`__
248+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionNamesAsync.html>`__
249249method or synchronous `ListCollectionNames()
250- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionNames.html>`__ method on
250+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionNames.html>`__ method on
251251your ``IMongoDatabase`` instance.
252252
253253To see detailed information about each database, call the
254254asynchronous `ListCollectionsAsync()
255- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionsAsync.html>`__
255+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionsAsync.html>`__
256256method or synchronous `ListCollections()
257- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollections.html>`__ method on
257+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollections.html>`__ method on
258258your ``IMongoDatabase`` instance. These methods return fields describing
259259the collections in the database, such as their types and settings.
260260
@@ -287,9 +287,9 @@ Drop a Collection
287287
288288Dropping a collection permanently deletes all the data in that
289289collection. To drop a collection, call the asynchronous `DropCollectionAsync()
290- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.DropCollectionAsync.html>`__ method or the
290+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.DropCollectionAsync.html>`__ method or the
291291synchronous `DropCollection()
292- <{+new- api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.DropCollection.html>`__
292+ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.DropCollection.html>`__
293293method on your ``IMongoCollection`` instance.
294294
295295The following code shows how to use the asynchronous
0 commit comments