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.
2 parents 5a43178 + 0b2d1ce commit 8a6bcabCopy full SHA for 8a6bcab
astra-db-client/src/test/java/com/dtsx/astra/sdk/documentation/DeleteDatabase.java
@@ -3,10 +3,10 @@
3
import com.dtsx.astra.sdk.AstraDBAdmin;
4
5
public class DeleteDatabase {
6
- public static void main(String[] args) {
7
- AstraDBAdmin client = new AstraDBAdmin("<replace_with_token>");
+ public static void main(String[] args) {
+ AstraDBAdmin client = new AstraDBAdmin("<token>");
8
9
- // Delete from its Name
10
- client.deleteDatabase("<replace_with_db_name>");
11
- }
+ // Delete an existing database
+ client.deleteDatabase("<database_name>");
+ }
12
}
0 commit comments