opaleye-sqlite-0.0.0.1: An SQL-generating DSL targeting SQLite

Safe HaskellNone
LanguageHaskell98

Opaleye.SQLite.Internal.Order

Synopsis

Documentation

newtype Order a Source

An Order represents an expression to order on and a sort direction. Multiple Orders can be composed with mappend. If two rows are equal according to the first Order, the second is used, and so on.

Constructors

Order (a -> [(OrderOp, PrimExpr)]) 

order :: OrderOp -> (a -> Column b) -> Order a Source

orderByU :: Order a -> (a, PrimQuery, Tag) -> (a, PrimQuery, Tag) Source

limit' :: Int -> (a, PrimQuery, Tag) -> (a, PrimQuery, Tag) Source

offset' :: Int -> (a, PrimQuery, Tag) -> (a, PrimQuery, Tag) Source