| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Napkin.Render.Common
Contents
Documentation
data AnnotateTableOrView #
Constructors
| AnnotateTableOrView | |
Fields | |
Instances
| RenderSql AnnotateTableOrView Postgres # | |
Defined in Napkin.Render.Postgres | |
| RenderSql AnnotateTableOrView Redshift # | |
Defined in Napkin.Render.Redshift | |
data AnnotateDescription #
Constructors
| TableDescription Text | |
| ColumnDescription (Ref SExp) Text |
renderNative :: RenderSql NativeExpr b => b -> NativeExpr -> Doc #
renderAliasRef :: forall {k} (a :: k). Dialect -> Ref a -> Doc #
namespaced :: [Doc] -> Doc #
commonOperators :: [CI (Ref Function)] #
renderRef_ :: forall {k} (a :: k). Dialect -> Ref a -> Doc #
renderName_ :: Dialect -> Name -> Doc #
renderLimit :: Int -> Doc #
renderOffset :: Int -> Doc #
maybeRender :: (a -> Doc) -> Maybe a -> Doc #
renderDistinctness :: Distinctness -> Doc #
type FunRendererMap = Map (CI (Ref Function)) FunRenderer #
renderTableOperator :: RenderSql (Alias SExp) b => b -> Dialect -> ParensOperator -> Doc #