update method
Implementation
Future<int> update(String? mid, String? status) async {
// FIXME: 暂不支持web
if (BytedeskUtils.isWeb) {
return 0;
}
return await database!.rawUpdate(
'UPDATE $tableMessage SET $columnStatus = ? WHERE $columnMid = ?',
[status, mid]);
}