| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Opaleye.Select
Description
A Select represents an SQL SELECT statment. To run a
Select use the functions in Opaleye.RunSelect. To create a
Select you probably want to start by querying one of your
Tables using selectTable.
SelectArr is a parametrised version of Select, i.e. it can be
passed arguments.
Documentation
type Select = SelectArr () Source #
A SELECT, i.e. an SQL query which produces a collection of
rows.
Select a is analogous to a Haskell value [a].
A parametrised Select. A SelectArr a b accepts an argument
of type a.
SelectArr a b is analogous to a Haskell function a -> [b].
Instances
| Arrow QueryArr Source # | |
Defined in Opaleye.Internal.QueryArr | |
| ArrowChoice QueryArr Source # | |
Defined in Opaleye.Internal.QueryArr | |
| ArrowApply QueryArr Source # | |
Defined in Opaleye.Internal.QueryArr | |
| Profunctor QueryArr Source # | |
Defined in Opaleye.Internal.QueryArr | |
| ProductProfunctor QueryArr Source # | |
| Monad (QueryArr a) Source # | |
| Functor (QueryArr a) Source # | |
| Applicative (QueryArr a) Source # | |
Defined in Opaleye.Internal.QueryArr | |
| Category QueryArr Source # | |