Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
AttrExpr Symbol | |
BaseTableAttrExpr Attribute | |
CompositeExpr PrimExpr Attribute | Composite Type Query |
BinExpr BinOp PrimExpr PrimExpr | |
UnExpr UnOp PrimExpr | |
AggrExpr AggrDistinct AggrOp PrimExpr [OrderExpr] | |
ConstExpr Literal | |
CaseExpr [(PrimExpr, PrimExpr)] PrimExpr | |
ListExpr (NonEmpty PrimExpr) | |
ParamExpr (Maybe Name) PrimExpr | |
FunExpr Name [PrimExpr] | |
CastExpr Name PrimExpr | Cast an expression to a given type. |
DefaultInsertExpr | |
ArrayExpr [PrimExpr] | ARRAY[..] |
RangeExpr String BoundExpr BoundExpr | |
ArrayIndex PrimExpr PrimExpr |
NullLit | |
DefaultLit | represents a default value |
BoolLit Bool | |
StringLit String | |
ByteStringLit ByteString | |
IntegerLit Integer | |
DoubleLit Double | |
NumericLit Scientific | |
OtherLit String | used for hacking in custom SQL |
AggrCount | |
AggrSum | |
AggrAvg | |
AggrMin | |
AggrMax | |
AggrStdDev | |
AggrStdDevP | |
AggrVar | |
AggrVarP | |
AggrBoolOr | |
AggrBoolAnd | |
AggrArr | |
JsonArr | |
AggrStringAggr PrimExpr | |
AggrOther String |
data AggrDistinct Source #
Instances
Eq AggrDistinct Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery (==) :: AggrDistinct -> AggrDistinct -> Bool # (/=) :: AggrDistinct -> AggrDistinct -> Bool # | |
Read AggrDistinct Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery readsPrec :: Int -> ReadS AggrDistinct # readList :: ReadS [AggrDistinct] # | |
Show AggrDistinct Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery showsPrec :: Int -> AggrDistinct -> ShowS # show :: AggrDistinct -> String # showList :: [AggrDistinct] -> ShowS # |
data OrderNulls Source #
Instances
Read OrderNulls Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery readsPrec :: Int -> ReadS OrderNulls # readList :: ReadS [OrderNulls] # readPrec :: ReadPrec OrderNulls # readListPrec :: ReadPrec [OrderNulls] # | |
Show OrderNulls Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery showsPrec :: Int -> OrderNulls -> ShowS # show :: OrderNulls -> String # showList :: [OrderNulls] -> ShowS # |
data OrderDirection Source #
Instances
Read OrderDirection Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery readsPrec :: Int -> ReadS OrderDirection # readList :: ReadS [OrderDirection] # | |
Show OrderDirection Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery showsPrec :: Int -> OrderDirection -> ShowS # show :: OrderDirection -> String # showList :: [OrderDirection] -> ShowS # |