-
Notifications
You must be signed in to change notification settings - Fork 348
/
package.scala
29 lines (25 loc) · 1.21 KB
/
package.scala
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2013-2018 Rob Norris and Contributors
// This software is licensed under the MIT License (MIT).
// For more information see LICENSE or https://opensource.org/licenses/MIT
package doobie
/**
* 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.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.
*/
package object hi
extends Modules
with doobie.free.Modules
with doobie.free.Types {
object implicits extends doobie.free.Instances
}