Registry / database / doobie-core-2-13

doobie-core-2-13

JSON →
library0.13.4javamavenunverified

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

<dependency> <groupId>org.tpolecat</groupId> <artifactId>doobie-core_2.13</artifactId> <version>0.13.4</version> </dependency>
INSTALL
IMPORT
SIG · DOOBIE-CORE-2-13
D
doobie-core-2-13
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.

doobie.implicits
doobie.implicits._

Execute a simple SQL query using Doobie with cats-effect IO.

import doobie._ import doobie.implicits._ import cats.effect.IO val xa = Transactor.fromDriverManager[IO]( "org.postgresql.Driver", "jdbc:postgresql://localhost/mydb", "user", "pass" ) val program = sql"SELECT 42".query[Int].unique.transact(xa) program.unsafeRunSync()
Debug
Known issues
breakingDoobie requires cats-effect and may have breaking changes between major versions.
fix
Check the Doobie migration guide when upgrading between major versions (e.g., 0.x to 1.x).
affects: all
Upgrade
Version history
0.13.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
doobie-core-2-13 — mvn dependency:get doobie-core-2-13 · libregistry