package hi
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 indoobie.enum
. - Nullable values are represented in terms of
Option
. - Java collection types are translated to immutable Scala equivalents.
- Actions that compute liftime-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.
- Source
- package.scala
- Grouped
- Alphabetic
- By Inheritance
- hi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class AlignSyntax [A] extends AnyRef
- type CallableStatementIO[A] = Free[CallableStatementOp, A]
- type ConnectionIO[A] = Free[ConnectionOp, A]
- type DatabaseMetaDataIO[A] = Free[DatabaseMetaDataOp, A]
- type DriverIO[A] = Free[DriverOp, A]
- type PreparedStatementIO[A] = Free[PreparedStatementOp, A]
- type ResultSetIO[A] = Free[ResultSetOp, A]
- type StatementIO[A] = Free[StatementOp, A]
Value Members
-
object
connection
Module of high-level constructors for
ConnectionIO
actions. -
object
preparedstatement
Module of high-level constructors for
PreparedStatementIO
actions.Module of high-level constructors for
PreparedStatementIO
actions. Batching operations are not provided; see thestatement
module for this functionality. -
object
resultset
Module of high-level constructors for
ResultSetIO
actions. -
object
statement
Module of high-level constructors for
StatementIO
actions.