| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Database.PostgreSQL.Stream.Types
Contents
- newtype Identifier = Identifier {}
 - newtype SQL = SQLExpr {
- unSQL :: ByteString
 
 - newtype Only a = Only {
- unOnly :: a
 
 - data Null = Null
 - data Action
 - newtype Query = Query {}
 - data QueryError = QueryError {}
 - data ConversionError
- = ConversionError { }
 - | UnexpectedNull { }
 - | Incompatible { }
 
 
Core types
newtype Identifier Source
Literal SQL identifier (i.e. table field names), spliced into the SQL query unquoted.
Constructors
| Identifier | |
Fields  | |
Literal SQL logic spliced in as a subexpression
Constructors
| SQLExpr | |
Fields 
  | |
Newtype for a singular result set or argument value.
SQL Query subexpression
Constructors
| Plain ByteString | |
| Escape ByteString | |
| EscapeIdentifier ByteString | 
SQL Query
Constructors
| Query | |
Fields  | |
Exceptions
data ConversionError Source
Constructors
| ConversionError | Bytestring is malformed  | 
| UnexpectedNull | Unexpected null value  | 
| Incompatible | Type is incompatible with data  |