Skip to content

Commit c382600

Browse files
committed
JAVA-2035: Fix reference documentation for dropping a collection to refer to the correct method name
1 parent fcc51b4 commit c382600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/content/driver/getting-started/quick-tour-admin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ for (String name : database.listCollectionNames()) {
8484
You can drop a collection by using the drop() method:
8585

8686
```java
87-
collection.dropCollection();
87+
collection.drop();
8888
```
8989

9090
## Create An Index

0 commit comments

Comments
 (0)