We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f89382b commit 90d0245Copy full SHA for 90d0245
source/includes/usage-examples/index-code-examples.java
@@ -33,9 +33,6 @@ public static void main(String[] args) {
33
MongoDatabase database = mongoClient.getDatabase("sample_mflix");
34
MongoCollection<Document> collection = database.getCollection("movies");
35
36
- Publisher<Void> dropAllResult = collection.dropIndexes();
37
- Mono.from(dropAllResult).block();
38
-
39
// start-single-field
40
Publisher<String> result = collection.createIndex(Indexes.ascending("<field name>"));
41
Mono.from(result).block();
0 commit comments