isTableExits static method
表是否存在
Implementation
static isTableExits(String tableName) async {
await getCurrentDatabase();
var res = await _database!.rawQuery(
"select * from Sqlite_master where type = 'table' and name = '$tableName'");
return res.isNotEmpty;
}