updateContent method

Future<int> updateContent(
  1. String? uid,
  2. String? content
)

Implementation

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