
doobie.syntax.connectionio.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doobie-core-cats_2.11 Show documentation
Show all versions of doobie-core-cats_2.11 Show documentation
Pure functional JDBC layer for Scala.
The newest version!
package doobie.syntax
import doobie.free.connection.ConnectionIO
import doobie.util.transactor.Transactor
import cats.Monad
object connectionio {
implicit class MoreConnectionIOOps[A](ma: ConnectionIO[A]) {
def transact[M[_]: Monad](xa: Transactor[M]): M[A] =
xa.trans.apply(ma)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy