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
44
55.. default-domain:: mongodb
66
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
88``BulkWrite()`` method.
99
1010The 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
44
55.. default-domain:: mongodb
66
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
88``RunCommand()`` method.
99
1010The following example passes a document containing the ``"dbStats"``
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Count Documents
55.. default-domain:: mongodb
66
77You 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()``
1010method.
1111
1212The following example uses the ``EstimatedDocumentCount()`` method to
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Delete a Document
44
55.. default-domain:: mongodb
66
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()``
88method.
99
1010The 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
55.. default-domain:: mongodb
66
77You 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.
99
1010The following code declares a ``BlogPost`` struct, where the ``WordCount`` field
1111has 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