dropDatabase()
This operation drops a database with a name.
public void dropDatabase(DropDatabaseReq request)
Request Syntax
dropDatabase(DropDatabaseReq.builder()
.databaseName(String databaseName)
.build()
)
BUILDER METHODS:
databaseName(String databaseName)
The name of the database to drop.
RETURNS:
void
EXCEPTIONS:
MilvusClientExceptions
This exception will be raised when any error occurs during this operation.
Example
DropDatabaseReq dropDatabaseReq = DropDatabaseReq.builder()
.databaseName(databaseName)
.build();
client.dropDatabase(dropDatabaseReq);