Skip to content

Commit 218445d

Browse files
authored
fix docs typo in mongoc_collection_drop_with_opts (#1166)
1 parent 6604ae3 commit 218445d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmongoc/doc/mongoc_collection_drop_with_opts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ If the collection does not exist, the server responds with an "ns not found" err
5959
6060
In MongoDB 3.0 and older, the "ns not found" error code is the generic MONGOC_ERROR_QUERY_FAILURE; in this case check whether the error message is equal to the string "ns not found".
6161

62-
The ``encryptedFields`` document in ``opts`` may be used to create a collection used for :doc:`Using Client-Side Field Level Encryption <using_client_side_encryption>`. If ``encryptedFields`` is specified, the "ns not found" error is not returned.
62+
The ``encryptedFields`` document in ``opts`` may be used to drop a collection for :doc:`Using Client-Side Field Level Encryption <using_client_side_encryption>`. If ``encryptedFields`` is specified, the "ns not found" error is not returned.
6363

6464
Errors
6565
------

0 commit comments

Comments
 (0)