Registry / database / doobie-core-2-11

doobie-core-2-11

JSON →
library0.7.1javamavenunverified

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

database
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._

Executes a simple SQL query using Doobie.

import doobie._ import doobie.implicits._ import cats.effect.IO object Example { def main(args: Array[String]): Unit = { 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(s"Result: $result") } }
Debug
Known footguns
breakingVersion 0.7.1 is for Scala 2.11; newer versions require Scala 2.12+.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
14 hits · last 30 days
gptbot
3
claudebot
3
mj12bot
2
ahrefsbot
1
Resources