Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
expToSql :: DbExp k a -> SqlValueExp Source #
varToSql :: Var k a -> SqlValueExp Source #
literalCollectionToSql :: LiteralCollection collection a => collection -> [SqlValueExp] Source #
boolExpToSql :: ConditionExp -> Condition Source #
conditionToSql :: forall tables. TableSetVars Filtering tables => (Variables Filtering tables -> ConditionExp) -> Condition Source #
uniqueNames :: [QualifiedTable] -> [QualifiedTable] Source #
compileTable :: forall name proxy. KnownSymbol name => proxy (name :: Symbol) -> SqlExp Source #
updatedExpToSql :: forall fields table. UpdateExp fields table -> ([Text], [SqlValueExp]) Source #
updateToSql :: forall table fields. (Var Updating table -> UpdateExp fields table) -> ([Text], [SqlValueExp]) Source #
orderingToSql :: forall tables ord. (Sortable ord, TableSetVars Sorting tables) => (Variables Sorting tables -> ord) -> [(SqlValueExp, SortDirection)] Source #
mappingToSql :: forall tables map. (Mappable map, TableSetVars Mapping tables) => (Variables Mapping tables -> map) -> [SqlValueExp] Source #
mapToSql :: Mappable map => map -> [SqlValueExp] Source #
groupMapToSql :: GroupMappable map => map -> [SqlValueExp] Source #
grouppingToSql :: forall tables group. (Groupable group, TableSetVars Grouping tables) => (Variables Grouping tables -> group) -> [SqlValueExp] Source #
groupStatementToSql :: forall tables group. GroupStatement group tables -> SqlExp Source #
foldingToSql :: forall tables aggr. (Aggregatable aggr, TableSetVars Folding tables) => (Variables Folding tables -> aggr) -> [SqlValueExp] Source #
aggregateStatementToSql :: AggregateStatement aggr AM -> SqlExp Source #
compileToSql :: DbStatement f ts -> SqlExp Source #