Skip to content

Commit bc3c8f8

Browse files
committed
fix create_collection docs
It uses the "create" command, not "createDatabase".
1 parent 06d8859 commit bc3c8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmongoc/doc/mongoc_database_create_collection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Parameters
1919

2020
* ``database``: A :symbol:`mongoc_database_t`.
2121
* ``name``: The name of the new collection.
22-
* ``opts``: An optional :symbol:`bson:bson_t` for opts to the ``createDatabase`` command.
22+
* ``opts``: An optional :symbol:`bson:bson_t` for opts to the ``create`` command.
2323
* ``error``: A location for a :symbol:`bson_error_t <errors>` or ``NULL``.
2424

2525
Description

0 commit comments

Comments
 (0)