napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Render.MsSql

Synopsis

Documentation

hasType :: Doc -> Doc -> Doc #

renderRef :: forall {k} (a :: k). Ref a -> Doc #

flattenUnions :: Query -> ([Query], [UnionType]) #

Pull all surface-level unions into a list of queries and list of connecting union operators

renderAliasRef' :: forall {k} (a :: k). Ref a -> Doc #

Orphan instances

RenderSql TableKind MsSql # 
Instance details

Methods

renderSql :: MsSql -> TableKind -> ME Doc #

RenderSql DeleteFrom MsSql # 
Instance details

Methods

renderSql :: MsSql -> DeleteFrom -> ME Doc #

RenderSql DropTable MsSql # 
Instance details

Methods

renderSql :: MsSql -> DropTable -> ME Doc #

RenderSql DropView MsSql # 
Instance details

Methods

renderSql :: MsSql -> DropView -> ME Doc #

RenderSql InsertIntoQuery MsSql # 
Instance details

RenderSql RenameTable MsSql # 
Instance details

Methods

renderSql :: MsSql -> RenameTable -> ME Doc #

RenderSql Actor MsSql # 
Instance details

Methods

renderSql :: MsSql -> Actor -> ME Doc #

RenderSql Grant MsSql # 
Instance details

Methods

renderSql :: MsSql -> Grant -> ME Doc #

RenderSql Object MsSql # 
Instance details

Methods

renderSql :: MsSql -> Object -> ME Doc #

RenderSql Privilege MsSql # 
Instance details

Methods

renderSql :: MsSql -> Privilege -> ME Doc #

RenderSql From MsSql # 
Instance details

Methods

renderSql :: MsSql -> From -> ME Doc #

RenderSql Name MsSql # 
Instance details

Methods

renderSql :: MsSql -> Name -> ME Doc #

RenderSql Query MsSql # 
Instance details

Methods

renderSql :: MsSql -> Query -> ME Doc #

RenderSql Relation MsSql # 
Instance details

Methods

renderSql :: MsSql -> Relation -> ME Doc #

RenderSql SExp MsSql # 
Instance details

Methods

renderSql :: MsSql -> SExp -> ME Doc #

RenderSql SetTableSchema MsSql # 
Instance details

RenderSql String MsSql # 
Instance details

Methods

renderSql :: MsSql -> String -> ME Doc #

RenderSql (CreateTable TableMeta) MsSql #

Commands

Instance details

RenderSql (CreateView ()) MsSql # 
Instance details

Methods

renderSql :: MsSql -> CreateView () -> ME Doc #

RenderSql a MsSql => RenderSql (Alias a) MsSql # 
Instance details

Methods

renderSql :: MsSql -> Alias a -> ME Doc #

RenderSql (Ref t) MsSql # 
Instance details

Methods

renderSql :: MsSql -> Ref t -> ME Doc #