Copyright | (c) Michael Mounteney, 2017 |
---|---|
License | BSD 3 clause |
Maintainer | the project name, all lower case, at landcroft dot com |
Stability | experimental |
Portability | undefined |
Safe Haskell | None |
Language | Haskell2010 |
- data DataHandle = Postgres Connection Text
- data DataDescriptor = DataDescriptor {
- columnNames :: [Text]
- primaryKeys :: [Text]
- openConnection :: DataHandle
- data PostgresConnection = PostgresConnection {
- serverName :: Text
- maybePort :: Maybe Int
- maybeDBName :: Maybe Text
- userName :: Text
- maybePassword :: Maybe Text
Documentation
data DataHandle Source #
An open connection or handle to an external data source.
Postgres Connection Text |
data DataDescriptor Source #
In-memory representation of one external data source, with column names, which columns are the primary keys, and the open handle.
DataDescriptor | |
|
data PostgresConnection Source #
Pooled Postgres connection object; see JRState
for usage.
PostgresConnection | |
|