Registry / database / doobie-core-2-12

doobie-core-2-12

JSON →
library0.13.4javamavenunverified

Pure functional JDBC layer for Scala, providing type-safe database access.

<dependency> <groupId>org.tpolecat</groupId> <artifactId>doobie-core_2.12</artifactId> <version>0.13.4</version> </dependency>
INSTALL
IMPORT
SIG · DOOBIE-CORE-2-12
D
doobie-core-2-12
databasejavav0.13.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Transactor
doobie.Transactor

Minimal Doobie database query example.

import doobie._ import doobie.implicits._ object DoobieExample extends App { val xa = Transactor.fromDriverManager[IO]( "org.h2.Driver", "jdbc:h2:mem:test", "sa", "" ) val program = sql"SELECT 1".query[Int].unique val result = program.transact(xa).unsafeRunSync() println(result) }
Debug
Known issues
breakingScala 2.12 version may have compatibility issues with newer libraries.
fix
Upgrade to Scala 2.13 or 3.x version of Doobie.
affects: <=0.13.4
Upgrade
Version history
0.13.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
doobie-core-2-12 — mvn dependency:get doobie-core-2-12 · libregistry