ConnectionPreparer

slick.jdbc.ConnectionPreparer
class ConnectionPreparer(c: Config) extends Connection => Unit

Set parameters on a new Connection. This is used by DataSourceJdbcDataSource.

Attributes

Source:
JdbcDataSource.scala
Graph
Supertypes
trait Connection => Unit
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def apply(c: Connection): Unit

Attributes

Source:
JdbcDataSource.scala

Inherited methods

def andThen[A](g: Unit => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Connection): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields

val catalog: Option[String]

Attributes

Source:
JdbcDataSource.scala
val isLive: Boolean

Attributes

Source:
JdbcDataSource.scala
val isolation: Option[Int]

Attributes

Source:
JdbcDataSource.scala
val readOnly: Option[Boolean]

Attributes

Source:
JdbcDataSource.scala