FromDriverManagerUnapplied

doobie.util.transactor.Transactor.FromDriverManagerUnapplied

Attributes

Source
transactor.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(driver: String, url: String)(implicit ev: Sync[M]): Aux[M, Unit]

Construct a new Transactor that uses the JDBC java.sql.DriverManager to allocate connections.

Construct a new Transactor that uses the JDBC java.sql.DriverManager to allocate connections.

Value parameters

driver

the class name of the JDBC driver, like "org.h2.Driver"

url

a connection URL, specific to your driver

Attributes

Source
transactor.scala
def apply(driver: String, url: String, user: String, pass: String)(implicit ev: Sync[M]): Aux[M, Unit]

Construct a new Transactor that uses the JDBC java.sql.DriverManager to allocate connections.

Construct a new Transactor that uses the JDBC java.sql.DriverManager to allocate connections.

Value parameters

driver

the class name of the JDBC driver, like "org.h2.Driver"

pass

database password

url

a connection URL, specific to your driver

user

database username

Attributes

Source
transactor.scala
def apply(driver: String, url: String, info: Properties)(implicit ev: Sync[M]): Aux[M, Unit]

Construct a new Transactor that uses the JDBC java.sql.DriverManager to allocate connections.

Construct a new Transactor that uses the JDBC java.sql.DriverManager to allocate connections.

Value parameters

driver

the class name of the JDBC driver, like "org.h2.Driver"

info

a java.util.Properties containing connection information (see documentation for the JDBC driver being used)

url

a connection URL, specific to your driver

Attributes

Source
transactor.scala