dataprism.jdbc.sql.DataSourceDb
See theDataSourceDb companion object
trait DataSourceDb[F[_]](ds: DataSource) extends ConnectionDb[F], TransactionalDb[F, JdbcCodec]
Attributes
- Companion
- object
- Source
- DataSourceDb.scala
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
protected def makeAndUsePrepared[A : Monoid](sql: SqlStr[JdbcCodec], trueBatch: Boolean)(f: ResourceManager ?=> (PreparedStatement, Connection) => A): F[A]
Attributes
- Inherited from:
- ConnectionDb
- Source
- ConnectionDb.scala
protected def makePrepared(sql: SqlStr[JdbcCodec], con: Connection)(using ResourceManager): PreparedStatement
Attributes
- Inherited from:
- ConnectionDb
- Source
- ConnectionDb.scala
protected def makePreparedWithBatch[A : Monoid](sql: SqlStr[JdbcCodec], con: Connection, trueBatch: Boolean)(use: PreparedStatement => A)(implicit evidence$1: Monoid[A], ResourceManager): A
Attributes
- Inherited from:
- ConnectionDb
- Source
- ConnectionDb.scala
Attributes
- Definition Classes
-
ConnectionDb -> Db
- Inherited from:
- ConnectionDb
- Source
- ConnectionDb.scala
Attributes
- Definition Classes
-
ConnectionDb -> Db
- Inherited from:
- ConnectionDb
- Source
- ConnectionDb.scala
Attributes
- Definition Classes
-
ConnectionDb -> Db
- Inherited from:
- ConnectionDb
- Source
- ConnectionDb.scala
Attributes
- Definition Classes
-
ConnectionDb -> Db
- Inherited from:
- ConnectionDb
- Source
- ConnectionDb.scala
Attributes
- Inherited from:
- ConnectionDb
- Source
- ConnectionDb.scala
def transaction[A](f: (TransactionDb[F, JdbcCodec]) ?=> F[A])(using NotGiven[TransactionDb[F, JdbcCodec]]): F[A]
Attributes
- Inherited from:
- TransactionalDb
- Source
- TransactionalDb.scala
In this article