drop method

Future drop()

Drop current database

Implementation

Future drop() async {
  if (masterConnection.serverCapabilities.supportsOpMsg) {
    var result = await modernDropDatabase();
    return result[keyOk] == 1.0;
  }
  return executeDbCommand(DbCommand.createDropDatabaseCommand(this));
}