opaleye-0.4.2.0: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell98

Opaleye.Sql

Synopsis

Documentation

showSqlForPostgres :: forall columns. Default Unpackspec columns columns => Query columns -> String Source

Example type specialization:

showSqlForPostgres :: Query (Column a, Column b) -> String

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

showSqlForPostgres :: Query (Foo (Column a) (Column b) (Column c)) -> String

showSqlForPostgresUnopt :: forall columns. Default Unpackspec columns columns => Query columns -> String Source