| Copyright | (c) Soostone Inc 2020 |
|---|---|
| License | AllRightsReserved |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
Napkin.Render.Common
Contents
Description
Documentation
data AnnotateTableOrView #
Constructors
| AnnotateTableOrView | |
Fields | |
Instances
| RenderSql AnnotateTableOrView Postgres # | |
Defined in Napkin.Render.Postgres Methods renderSql :: Postgres -> AnnotateTableOrView -> Doc # | |
| RenderSql AnnotateTableOrView Redshift # | |
Defined in Napkin.Render.Redshift Methods renderSql :: Redshift -> AnnotateTableOrView -> Doc # | |
data AnnotateDescription #
Constructors
| TableDescription Text | |
| ColumnDescription (Ref SExp) Text |
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 #