opaleye-0.2: An SQL-generating DSL targeting PostgreSQL

Safe HaskellSafe-Inferred
LanguageHaskell98

Opaleye.Operators

Synopsis

Documentation

restrict :: QueryArr (Column Bool) () Source

Restrict query results to a particular condition. Corresponds to the guard method of the MonadPlus class.

case_ :: [(Column Bool, Column a)] -> Column a -> Column a Source