preql-0.2: src/Preql.hs
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
module Preql (
SQL(..), sql
, Transaction, Query
-- * functions for writing SQL instances
, runTransactionIO
-- * Decoding rows
, FromSql, FromSqlField
-- * Encoding parameters
, ToSql, ToSqlField
-- * Errors
, QueryError(..), FieldError(..), UnlocatedFieldError(..), TypeMismatch(..)
-- | encoding & decoding to wire format
, module Preql.Wire
) where
import Preql.Wire
import Preql.QuasiQuoter.Raw.TH (sql)
import Preql.Effect