hasql-interpolate-0.1.0.0: QuasiQuoter that supports expression interpolation for hasql
Safe HaskellNone
LanguageHaskell2010

Hasql.Interpolate.Internal.OneRow

Documentation

newtype OneRow a Source #

Constructors

OneRow 

Fields

Instances

Instances details
Eq a => Eq (OneRow a) Source # 
Instance details

Defined in Hasql.Interpolate.Internal.OneRow

Methods

(==) :: OneRow a -> OneRow a -> Bool #

(/=) :: OneRow a -> OneRow a -> Bool #

Show a => Show (OneRow a) Source # 
Instance details

Defined in Hasql.Interpolate.Internal.OneRow

Methods

showsPrec :: Int -> OneRow a -> ShowS #

show :: OneRow a -> String #

showList :: [OneRow a] -> ShowS #

Generic (OneRow a) Source # 
Instance details

Defined in Hasql.Interpolate.Internal.OneRow

Associated Types

type Rep (OneRow a) :: Type -> Type #

Methods

from :: OneRow a -> Rep (OneRow a) x #

to :: Rep (OneRow a) x -> OneRow a #

DecodeRow a => DecodeResult (OneRow a) Source #

Parse a single row result, throw UnexpectedAmountOfRows otherwise. (singleRow)

Instance details

Defined in Hasql.Interpolate.Internal.OneRow

type Rep (OneRow a) Source # 
Instance details

Defined in Hasql.Interpolate.Internal.OneRow

type Rep (OneRow a) = D1 ('MetaData "OneRow" "Hasql.Interpolate.Internal.OneRow" "hasql-interpolate-0.1.0.0-4BiRHAXUfFGEzozJ9Z1Ajk" 'True) (C1 ('MetaCons "OneRow" 'PrefixI 'True) (S1 ('MetaSel ('Just "getOneRow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))