napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Render.Common

Documentation

renderCreateTable :: forall {k} (backend :: k). (RenderSql (Ref Table) backend, RenderSql Query backend, BackendDialect backend) => Proxy backend -> Ref Table -> Query -> Doc #

renderCreateViewAs :: forall {k} (backend :: k). (RenderSql (Ref Table) backend, RenderSql Query backend, BackendDialect backend) => Proxy backend -> Ref Table -> Query -> Doc #

renderDrop :: forall {k} (backend :: k). (RenderSql TableKind backend, RenderSql MissingBehavior backend, NapkinParserDialect backend) => Proxy backend -> TableKind -> MissingBehavior -> Ref Table -> Doc -> Doc #

renderRenameTable :: forall {k} (b :: k). (RenderSql (Ref Table) b, BackendDialect b) => Proxy b -> RenameRelation -> Doc #

Orphan instances

BackendDialect b => RenderSql Query (b :: k) # 
Instance details

Methods

renderSql :: Proxy b -> Query -> ME Doc #

BackendDialect b => RenderSql SExp (b :: k) # 
Instance details

Methods

renderSql :: Proxy b -> SExp -> ME Doc #

RenderSql TableKind (b :: k) # 
Instance details

Methods

renderSql :: Proxy b -> TableKind -> ME Doc #

BackendDialect b => RenderSql UpdateQuery (b :: k) # 
Instance details

Methods

renderSql :: Proxy b -> UpdateQuery -> ME Doc #

RenderSql MissingBehavior (b :: k) # 
Instance details

BackendDialect b => RenderSql DeleteRows (b :: k) # 
Instance details

Methods

renderSql :: Proxy b -> DeleteRows -> ME Doc #

BackendDialect b => RenderSql InsertInto (b :: k) # 
Instance details

Methods

renderSql :: Proxy b -> InsertInto -> ME Doc #

RenderSql Text (b :: k) # 
Instance details

Methods

renderSql :: Proxy b -> Text -> ME Doc #

NapkinParserDialect b => RenderSql (CreateTableSchema b) (b :: Type) # 
Instance details

Methods

renderSql :: Proxy b -> CreateTableSchema b -> ME Doc #

NapkinParserDialect b => RenderSql (Ref t) (b :: k1) # 
Instance details

Methods

renderSql :: Proxy b -> Ref t -> ME Doc #