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 != null && res.isNotEmpty;
}