groundhog-0.0.1.1: Type-safe ADT-database mapping library.

Database.Groundhog.Generic.Sql

Description

This module defines the functions which are used only for backends creation.

Documentation

renderCond :: PersistEntity v => (String -> String) -> String -> (forall a. PersistField a => (String -> String) -> Expr v c a -> Expr v c a -> RenderS) -> (forall a. PersistField a => (String -> String) -> Expr v c a -> Expr v c a -> RenderS) -> Cond v c -> RenderSSource

defRenderEquals :: PersistField a => (String -> String) -> Expr v c a -> Expr v c a -> RenderSSource