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