1{-# language FlexibleContexts #-}
12import qualified Opaleye.Table as Opaleye
15import Rel8.Query ( Query )
16import Rel8.Query.Opaleye ( fromOpaleye )
17import Rel8.Schema.Name ( Selects )
18import Rel8.Schema.Table ( TableSchema )
19import Rel8.Table ( fromColumns, toColumns )
20import Rel8.Table.Opaleye ( table, unpackspec )
23-- | Select each row from a table definition. This is equivalent to @FROM
26-- >>> mapM_ print =<< select c (each projectSchema)
27-- Project {projectAuthorId = 1, projectName = "rel8"}
28-- Project {projectAuthorId = 2, projectName = "aeson"}
29-- Project {projectAuthorId = 2, projectName = "text"}
30each :: Selects names exprs => TableSchema names -> Query exprs
34 Opaleye.selectTableExplicit unpackspec .
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list