Safe Haskell | None |
---|---|
Language | Haskell2010 |
- buildSql92Query' :: forall select projSyntax db s a. (IsSql92SelectSyntax select, Eq (Sql92SelectExpressionSyntax select), projSyntax ~ Sql92SelectTableProjectionSyntax (Sql92SelectSelectTableSyntax select), Sql92TableSourceSelectSyntax (Sql92FromTableSourceSyntax (Sql92SelectFromSyntax select)) ~ select, Sql92ProjectionExpressionSyntax projSyntax ~ Sql92SelectExpressionSyntax select, Projectible (Sql92ProjectionExpressionSyntax projSyntax) a) => Bool -> Text -> Q select db s a -> select
Documentation
:: (IsSql92SelectSyntax select, Eq (Sql92SelectExpressionSyntax select), projSyntax ~ Sql92SelectTableProjectionSyntax (Sql92SelectSelectTableSyntax select), Sql92TableSourceSelectSyntax (Sql92FromTableSourceSyntax (Sql92SelectFromSyntax select)) ~ select, Sql92ProjectionExpressionSyntax projSyntax ~ Sql92SelectExpressionSyntax select, Projectible (Sql92ProjectionExpressionSyntax projSyntax) a) | |
=> Bool | Whether this backend supports arbitrary nested UNION, INTERSECT, EXCEPT |
-> Text | Table prefix |
-> Q select db s a | |
-> select |
Convenience functions to construct an arbitrary SQL92 select syntax type
from a Q
. Used by most backends as the default implementation of
buildSqlQuery
in HasQBuilder
.