core

Members list

Concise view

Packages

package doobie

Top-level import, providing aliases for the most commonly used types and modules from doobie-free and doobie-core. A typical starting set of imports would be something like this.

Top-level import, providing aliases for the most commonly used types and modules from doobie-free and doobie-core. A typical starting set of imports would be something like this.

import cats.implicits.*
import doobie._, doobie.implicits.*

Attributes

See also:

The doobie microsite for much more information.

Enumerated types for JDBC constants. enumerated values are provided by companion modules.

Enumerated types for JDBC constants. enumerated values are provided by companion modules.

Attributes

package doobie.hi

High-level database API. The constructors here are defined in terms of those in doobie.free.connection but differ in the following ways:

High-level database API. The constructors here are defined in terms of those in doobie.free.connection but differ in the following ways:

  • Enumerated values represented by Int values in JDBC are mapped to one of the proper types defined in doobie.enumerated.
  • Nullable values are represented in terms of Option.
  • Java collection types are translated to immutable Scala equivalents.
  • Actions that compute lifetime-managed resources do not return the resource directly, but rather take a continuation in the resource's monad.
  • Actions that compute values of impure types (CLOB, InputStream, etc.) do not appear in this API. They are available in the low-level API but must be used with considerable caution.
  • Lifting actions, low-level type mapping actions, and resource management actions do not appear in this API.

Attributes

package doobie.util

Common utilities for query testing

Common utilities for query testing

Attributes