I'm trying to do a simple Postgres SET operation to increment a column in my table by some amount. It should look something like this Increment a value in Postgres
I want to avoid writing a raw SQL statement.
I am aware of the UpdateInvoker that works like this
val q = for { c <- Coffees if c.name === "Espresso" } yield c.price
q.update(10.49)
val statement = q.updateStatement
val invoker = q.updateInvoker
but I need an atomic operation.