Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PgType
- data ProcDescription = ProcDescription {}
- data ProcParam = ProcParam {}
- data ProcVolatility
- type ProcsMap = HashMap QualifiedIdentifier [ProcDescription]
- data RetType
- procReturnsScalar :: ProcDescription -> Bool
- procReturnsSingle :: ProcDescription -> Bool
- procTableName :: ProcDescription -> Maybe TableName
Documentation
Instances
Eq PgType Source # | |
Ord PgType Source # | |
Generic PgType Source # | |
ToJSON PgType Source # | |
Defined in PostgREST.DbStructure.Proc | |
type Rep PgType Source # | |
Defined in PostgREST.DbStructure.Proc type Rep PgType = D1 ('MetaData "PgType" "PostgREST.DbStructure.Proc" "postgrest-9.0.0-inplace" 'False) (C1 ('MetaCons "Scalar" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Composite" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QualifiedIdentifier))) |
data ProcDescription Source #
ProcDescription | |
|
Instances
Instances
Eq ProcParam Source # | |
Ord ProcParam Source # | |
Defined in PostgREST.DbStructure.Proc | |
Generic ProcParam Source # | |
ToJSON ProcParam Source # | |
Defined in PostgREST.DbStructure.Proc | |
type Rep ProcParam Source # | |
Defined in PostgREST.DbStructure.Proc type Rep ProcParam = D1 ('MetaData "ProcParam" "PostgREST.DbStructure.Proc" "postgrest-9.0.0-inplace" 'False) (C1 ('MetaCons "ProcParam" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ppName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "ppType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "ppReq") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "ppVar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) |
data ProcVolatility Source #
Instances
type ProcsMap = HashMap QualifiedIdentifier [ProcDescription] Source #
A map of all procs, all of which can be overloaded(one entry will have more than one ProcDescription). | It uses a HashMap for a faster lookup.
Instances
Eq RetType Source # | |
Ord RetType Source # | |
Generic RetType Source # | |
ToJSON RetType Source # | |
Defined in PostgREST.DbStructure.Proc | |
type Rep RetType Source # | |
Defined in PostgREST.DbStructure.Proc type Rep RetType = D1 ('MetaData "RetType" "PostgREST.DbStructure.Proc" "postgrest-9.0.0-inplace" 'False) (C1 ('MetaCons "Single" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PgType)) :+: C1 ('MetaCons "SetOf" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PgType))) |