deleteTable method

Future<void> deleteTable(
  1. String name
)

Deletes the table with the given name. Note that this function does not escape the name parameter.

Implementation

Future<void> deleteTable(String name) async {
  final context = _createContext();
  return _issueCustomQuery(
      'DROP TABLE IF EXISTS ${context.identifier(name)};');
}