mirror of
https://github.com/postgres-haskell/postgres-wire.git
synced 2024-11-22 14:51:09 +03:00
Public API
This commit is contained in:
parent
45c8f03ebe
commit
fe7e7f4c39
@ -1,5 +1,40 @@
|
||||
module Database.PostgreSQL.Driver where
|
||||
module Database.PostgreSQL.Driver
|
||||
(
|
||||
-- * Settings
|
||||
ConnectionSettings(..)
|
||||
, TlsMode
|
||||
, defaultConnectionSettings
|
||||
-- * Connection
|
||||
, Connection
|
||||
, connect
|
||||
, close
|
||||
-- * Information about connection
|
||||
, getServerVersion
|
||||
, getServerEncoding
|
||||
, getIntegerDatetimes
|
||||
-- * Queries
|
||||
, Query(..)
|
||||
, Oid(..)
|
||||
, Format(..)
|
||||
, sendBatch
|
||||
, sendBatchAndSync
|
||||
, sendBatchAndFlush
|
||||
, sendSync
|
||||
, sendFlush
|
||||
, readNextData
|
||||
, readReadyForQuery
|
||||
, sendSimpleQuery
|
||||
, describeStatement
|
||||
-- * Errors
|
||||
, Error(..)
|
||||
, AuthError(..)
|
||||
, ErrorDesc(..)
|
||||
) where
|
||||
|
||||
import Database.PostgreSQL.Protocol.Types
|
||||
|
||||
import Database.PostgreSQL.Driver.Connection
|
||||
import Database.PostgreSQL.Driver.Settings
|
||||
import Database.PostgreSQL.Driver.Query
|
||||
import Database.PostgreSQL.Driver.Error
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user