Can you make batch update in doobie with generic types?
This code:
def insertMany[T](ps: List[T]): Task[List[T]] = {
val sql = "insert into person (name, age) values (?, ?)"
Update[T](sql).updateMany(ps)
}
gives me: could not find implicit value for parameter W: doobie.util.Write[T]