napkin-0.5.14
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Render.MsSql

Synopsis

Documentation

hasType :: Doc -> Doc -> Doc #

renderRef :: Ref a -> Doc #

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

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

Orphan instances

RenderSql TableKind MsSql # 
Instance details

Methods

renderSql :: MsSql -> TableKind -> Doc #

RenderSql DeleteFrom MsSql # 
Instance details

Methods

renderSql :: MsSql -> DeleteFrom -> Doc #

RenderSql DropTable MsSql # 
Instance details

Methods

renderSql :: MsSql -> DropTable -> Doc #

RenderSql DropView MsSql # 
Instance details

Methods

renderSql :: MsSql -> DropView -> Doc #

RenderSql InsertIntoQuery MsSql # 
Instance details

RenderSql RenameTable MsSql # 
Instance details

Methods

renderSql :: MsSql -> RenameTable -> Doc #

RenderSql Actor MsSql # 
Instance details

Methods

renderSql :: MsSql -> Actor -> Doc #

RenderSql Grant MsSql # 
Instance details

Methods

renderSql :: MsSql -> Grant -> Doc #

RenderSql Object MsSql # 
Instance details

Methods

renderSql :: MsSql -> Object -> Doc #

RenderSql Privilege MsSql # 
Instance details

Methods

renderSql :: MsSql -> Privilege -> Doc #

RenderSql From MsSql # 
Instance details

Methods

renderSql :: MsSql -> From -> Doc #

RenderSql Name MsSql # 
Instance details

Methods

renderSql :: MsSql -> Name -> Doc #

RenderSql Query MsSql # 
Instance details

Methods

renderSql :: MsSql -> Query -> Doc #

RenderSql Relation MsSql # 
Instance details

Methods

renderSql :: MsSql -> Relation -> Doc #

RenderSql SExp MsSql # 
Instance details

Methods

renderSql :: MsSql -> SExp -> Doc #

RenderSql SetTableSchema MsSql # 
Instance details

RenderSql String MsSql # 
Instance details

Methods

renderSql :: MsSql -> String -> Doc #

RenderSql (CreateTable TableMeta) MsSql #

Commands

Instance details

RenderSql (CreateView ()) MsSql # 
Instance details

Methods

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

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

Methods

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

RenderSql (Ref t) MsSql # 
Instance details

Methods

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