dropTable method

  1. @override
Future<DbResult> dropTable(
  1. String tableName
)

Drop table tableName Table name Returns DbResult to allow graceful error handling for business logic errors

删除表 tableName 表名 返回 DbResult 方便处理业务逻辑错误

Implementation

@override
Future<DbResult> dropTable(String tableName) async {
  _checkSystemTableAccess(
      tableName, 'cannot be dropped manually', 'ToStore.dropTable');

  return await _impl.dropTable(tableName);
}