File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Perform Bulk Operations
4
4
5
5
.. default-domain:: mongodb
6
6
7
- You can perform bulk write operations on a collection using the
7
+ You can perform bulk write operations on a collection by using the
8
8
``BulkWrite()`` method.
9
9
10
10
The following example specifies a slice of ``WriteModels`` and an option
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Run a Command
4
4
5
5
.. default-domain:: mongodb
6
6
7
- You can run commands directly on your MongoDB server using the
7
+ You can run commands directly on your MongoDB server by using the
8
8
``RunCommand()`` method.
9
9
10
10
The following example passes a document containing the ``"dbStats"``
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Count Documents
5
5
.. default-domain:: mongodb
6
6
7
7
You can get an approximation on the number of documents in a
8
- collection using the ``EstimatedDocumentCount()`` method and an exact
9
- number of documents in a collection using the ``CountDocuments()``
8
+ collection by using the ``EstimatedDocumentCount()`` method and an exact
9
+ number of documents in a collection by using the ``CountDocuments()``
10
10
method.
11
11
12
12
The following example uses the ``EstimatedDocumentCount()`` method to
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Delete a Document
4
4
5
5
.. default-domain:: mongodb
6
6
7
- You can delete a document in a collection using the ``DeleteOne()``
7
+ You can delete a document in a collection by using the ``DeleteOne()``
8
8
method.
9
9
10
10
The following example specifies a query filter to the ``DeleteOne()``
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Use Struct Tags
5
5
.. default-domain:: mongodb
6
6
7
7
You can specify the way that the Go Driver converts Go
8
- structs to :manual:`BSON </reference/bson-types/>` using struct tags.
8
+ structs to :manual:`BSON </reference/bson-types/>` by using struct tags.
9
9
10
10
The following code declares a ``BlogPost`` struct, where the ``WordCount`` field
11
11
has a struct tag that sets a custom BSON field name of ``word_count``.
You can’t perform that action at this time.
0 commit comments