clearSymptomsLog method

Future<int> clearSymptomsLog(
  1. String customerId
)

Delete all symptoms data

Implementation

Future<int> clearSymptomsLog(String customerId) async {
  Database? db = await instance.database;
  int deleted = await db!.rawDelete(
      "DELETE FROM $tableDailyUserSymptomsLogsData WHERE $columnCustomerId='$customerId'");
  return deleted;
}