Skip to content

Commit 0a412f6

Browse files
authored
Merge pull request #91 from djsauble/patch-4
Tidy up the code and comments in DeleteCollection.java
2 parents dc0641a + e9f5075 commit 0a412f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

astra-db-client/src/test/java/com/dtsx/astra/sdk/documentation/DeleteCollection.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
public class DeleteCollection {
66
public static void main(String[] args) {
7-
8-
// Given an active db
97
AstraDB db = new AstraDB("<token>", "<api_endpoint>");
108

11-
// Find a collection
9+
// Delete an existing collection
1210
db.deleteCollection("collection_vector2");
1311
}
1412
}

0 commit comments

Comments
 (0)