Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- rewriteCollectDepsNapkin :: forall a. Data a => Maybe (Ref Table -> Ref Table) -> Set (Ref Table) -> a -> (Set (Ref Table), a)
- parseSQLStatement :: ParseSQLFun Query
- parseSQLSExp :: ParseSQLFun SExp
- parseSQLStatement' :: Dialect -> ParseSQLFun Query
- parseSQLSExp' :: Dialect -> ParseSQLFun SExp
- fixQuotes :: forall b a. (Data a, ToDbBackend b) => a -> a
Documentation
rewriteCollectDepsNapkin :: forall a. Data a => Maybe (Ref Table -> Ref Table) -> Set (Ref Table) -> a -> (Set (Ref Table), a) #
parseSQLSExp' :: Dialect -> ParseSQLFun SExp #
fixQuotes :: forall b a. (Data a, ToDbBackend b) => a -> a #
On renaming phase we don't know what quoting our dialect uses. We apply ~ as quotes and need to replace them with appropriate ones them as we render the expression (then we already know target backend).