Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- renderAlias :: forall b a. RenderSql a b => (a -> Doc) -> (Ref a -> Doc) -> Alias a -> Doc
- renderNative :: forall b. RenderSql NativeExpr b => b -> NativeExpr -> Doc
- matchFun :: Ref Function -> [Ref Function] -> Bool
- spaced :: Doc -> Doc
- spc :: Doc
- namespaced :: [Doc] -> Doc
- funcall_ :: (Doc -> Doc) -> Ref Function -> Doc -> Doc
- funcallArgs_ :: RenderSql SExp b => (Doc -> Doc) -> b -> Ref Function -> [SExp] -> Doc
- renderRef_ :: (Doc -> Doc) -> Ref a -> Doc
- renderName_ :: (Doc -> Doc) -> Name -> Doc
- argList :: RenderSql e b => b -> [e] -> Doc
- funNorm :: Ref Function -> Ref Function
- rendOp :: RenderSql SExp b => b -> Ref Function -> [SExp] -> Doc
- renderLimit :: Int -> Doc
- renderOffset :: Int -> Doc
- maybeRender :: (a -> Doc) -> Maybe a -> Doc
- backTicks :: Doc -> Doc
- renderDistinctness :: Distinctness -> Doc
- commonEscapes :: [(Text, Text)]
- escapeString :: [(Text, Text)] -> Text -> Text
- renderError :: Show a => Ref t -> Text -> a -> e
- hCommaSep :: [Doc] -> Doc
- hParList :: [Doc] -> Doc
Documentation
renderNative :: forall b. RenderSql NativeExpr b => b -> NativeExpr -> Doc #
namespaced :: [Doc] -> Doc #
renderLimit :: Int -> Doc #
renderOffset :: Int -> Doc #
maybeRender :: (a -> Doc) -> Maybe a -> Doc #
renderDistinctness :: Distinctness -> Doc #
commonEscapes :: [(Text, Text)] #
renderError :: Show a => Ref t -> Text -> a -> e #