opaleye-0.4.2.0: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell98

Opaleye.Binary

Synopsis

Documentation

unionAll :: Default Binaryspec columns columns => Query columns -> Query columns -> Query columns Source

Example type specialization:

unionAll :: Query (Column a, Column b)
         -> Query (Column a, Column b)
         -> Query (Column a, Column b)

Assuming the makeAdaptorAndInstance splice has been run for the product type Foo:

unionAll :: Query (Foo (Column a) (Column b) (Column c))
         -> Query (Foo (Column a) (Column b) (Column c))
         -> Query (Foo (Column a) (Column b) (Column c))

unionAllExplicit :: Binaryspec columns columns' -> Query columns -> Query columns -> Query columns' Source