Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Documentation
data AnnotateTableOrView #
Instances
RenderSql AnnotateTableOrView Postgres # | |
Defined in Napkin.Render.Postgres renderSql :: Postgres -> AnnotateTableOrView -> Doc # | |
RenderSql AnnotateTableOrView Redshift # | |
Defined in Napkin.Render.Redshift renderSql :: Redshift -> AnnotateTableOrView -> Doc # |
renderNative :: forall b. RenderSql NativeExpr b => b -> NativeExpr -> Doc #
renderAliasRef :: Dialect -> Ref a -> Doc #
namespaced :: [Doc] -> Doc #
commonOperators :: [CI (Ref Function)] #
renderRef_ :: Dialect -> Ref a -> Doc #
renderName_ :: Dialect -> Name -> Doc #
renderLimit :: Int -> Doc #
renderOffset :: Int -> Doc #
maybeRender :: (a -> Doc) -> Maybe a -> Doc #
renderDistinctness :: Distinctness -> Doc #
renderError :: Show a => Ref t -> Text -> a -> e #
type FunRendererMap = Map (CI (Ref Function)) FunRenderer #
renderTableOperator :: RenderSql (Alias SExp) b => b -> Dialect -> ParensOperator -> Doc #