| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Opaleye.Internal.HaskellDB.PrimQuery
Documentation
Constructors
| 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 |
Constructors
| 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 |
Constructors
Constructors
| AggrCount | |
| AggrSum | |
| AggrAvg | |
| AggrMin | |
| AggrMax | |
| AggrStdDev | |
| AggrStdDevP | |
| AggrVar | |
| AggrVarP | |
| AggrBoolOr | |
| AggrBoolAnd | |
| AggrArr | |
| JsonArr | |
| AggrStringAggr PrimExpr | |
| AggrOther String |
data AggrDistinct Source #
Constructors
| AggrDistinct | |
| AggrAll |
Instances
| Eq AggrDistinct Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery | |
| Read AggrDistinct Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery Methods readsPrec :: Int -> ReadS AggrDistinct # readList :: ReadS [AggrDistinct] # | |
| Show AggrDistinct Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery Methods showsPrec :: Int -> AggrDistinct -> ShowS # show :: AggrDistinct -> String # showList :: [AggrDistinct] -> ShowS # | |
data OrderNulls Source #
Constructors
| NullsFirst | |
| NullsLast |
Instances
| Read OrderNulls Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery Methods readsPrec :: Int -> ReadS OrderNulls # readList :: ReadS [OrderNulls] # readPrec :: ReadPrec OrderNulls # readListPrec :: ReadPrec [OrderNulls] # | |
| Show OrderNulls Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery Methods showsPrec :: Int -> OrderNulls -> ShowS # show :: OrderNulls -> String # showList :: [OrderNulls] -> ShowS # | |
data OrderDirection Source #
Instances
| Read OrderDirection Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery Methods readsPrec :: Int -> ReadS OrderDirection # readList :: ReadS [OrderDirection] # | |
| Show OrderDirection Source # | |
Defined in Opaleye.Internal.HaskellDB.PrimQuery Methods showsPrec :: Int -> OrderDirection -> ShowS # show :: OrderDirection -> String # showList :: [OrderDirection] -> ShowS # | |