anatoliykmetyuk
7/7/2018 - 1:09 PM

Doobie Update

  def markNotified(id: Int): IO[Int] =
    sql"""
      update message set notified = true
      where id = $id
    """.update.run.transact(tr)