Skip to content

Commit 90d0245

Browse files
committed
Fix
1 parent f89382b commit 90d0245

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

source/includes/usage-examples/index-code-examples.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ public static void main(String[] args) {
3333
MongoDatabase database = mongoClient.getDatabase("sample_mflix");
3434
MongoCollection<Document> collection = database.getCollection("movies");
3535

36-
Publisher<Void> dropAllResult = collection.dropIndexes();
37-
Mono.from(dropAllResult).block();
38-
3936
// start-single-field
4037
Publisher<String> result = collection.createIndex(Indexes.ascending("<field name>"));
4138
Mono.from(result).block();

0 commit comments

Comments
 (0)