dropTable method

Future<void> dropTable({
  1. required String database,
  2. required String name,
  3. bool ignoreMissing = false,
  4. List<String>? namespace,
})

Implementation

Future<void> dropTable({required String database, required String name, bool ignoreMissing = false, List<String>? namespace}) async {
  final response = await _invoke("drop_table", {
    "database": database,
    "name": name,
    "ignore_missing": ignoreMissing,
    "namespace": namespace,
  });
  if (response is! EmptyContent) {
    throw _unexpectedResponseError("drop_table");
  }
}