Copyright | 2017 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | [email protected] |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
Database.Relational.Projectable.Unsafe
Description
This module provides unsafe interfaces between projected terms and SQL terms.
- class SqlContext c where
- class SqlContext c => OperatorContext c
- class AggregatedContext ac
- data PlaceHolders p = PlaceHolders
Documentation
class SqlContext c where Source #
Interface to project SQL terms unsafely.
Minimal complete definition
Methods
unsafeProjectSqlTerms :: [StringSQL] -> Record c t Source #
Unsafely project from SQL expression terms.
class SqlContext c => OperatorContext c Source #
Constraint to restrict context of full SQL expressions. For example, the expression at the left of OVER clause is not allowed using full SQL expression.
class AggregatedContext ac Source #
Constraint to restrict context of aggregated SQL context.
data PlaceHolders p Source #
Placeholder parameter type which has real parameter type arguemnt p
.
Constructors
PlaceHolders |
Instances
ProjectableMaybe PlaceHolders Source # | Control phantom |