napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Types.QueryTransformer

Synopsis

Documentation

qt_spec :: Getter QueryTransformer (SpecTableName -> Ref Table) #

In general this should be used for renaming SpecTableName.

modifyFunctions :: Data b => (Ref Function -> Ref Function) -> b -> b #

class FunctionTransformer a where #

Methods

modFun :: (ExternFun -> SExp) -> a -> a #

Instances

Instances details
FunctionTransformer CteBody # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

modFun :: (ExternFun -> SExp) -> CteBody -> CteBody #

FunctionTransformer From # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

modFun :: (ExternFun -> SExp) -> From -> From #

FunctionTransformer OrderPart # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

modFun :: (ExternFun -> SExp) -> OrderPart -> OrderPart #

FunctionTransformer Query # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

modFun :: (ExternFun -> SExp) -> Query -> Query #

FunctionTransformer Relation # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

modFun :: (ExternFun -> SExp) -> Relation -> Relation #

FunctionTransformer SExp # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

modFun :: (ExternFun -> SExp) -> SExp -> SExp #

FunctionTransformer WithClauses # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunctionTransformer (Alias SExp) # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

modFun :: (ExternFun -> SExp) -> Alias SExp -> Alias SExp #

FunctionTransformer (Selected Query) # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunctionTransformer (Selected Relation) # 
Instance details

Defined in Napkin.Types.QueryTransformer

class TableRenamer a where #

Methods

renameTableRef :: (Ref Table -> Ref Table) -> a -> a #

Instances

Instances details
TableRenamer CteBody # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer ExternFun # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer From # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

renameTableRef :: (Ref Table -> Ref Table) -> From -> From #

TableRenamer OrderPart # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer Query # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

renameTableRef :: (Ref Table -> Ref Table) -> Query -> Query #

TableRenamer Relation # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer SExp # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

renameTableRef :: (Ref Table -> Ref Table) -> SExp -> SExp #

TableRenamer WindowFun # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer WithClauses # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer Statement # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer (Alias SExp) # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer (Alias Table) # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer (Selected Query) # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer (Selected Relation) # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer (Selected Table) # 
Instance details

Defined in Napkin.Types.QueryTransformer

TableRenamer (Ref Table) # 
Instance details

Defined in Napkin.Types.QueryTransformer

class FunRenamer a where #

Methods

renameFun :: (Ref Function -> Ref Function) -> a -> a #

Instances

Instances details
FunRenamer CteBody # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunRenamer ExternFun # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunRenamer From # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

renameFun :: (Ref Function -> Ref Function) -> From -> From #

FunRenamer OrderPart # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunRenamer Query # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

renameFun :: (Ref Function -> Ref Function) -> Query -> Query #

FunRenamer Relation # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunRenamer SExp # 
Instance details

Defined in Napkin.Types.QueryTransformer

Methods

renameFun :: (Ref Function -> Ref Function) -> SExp -> SExp #

FunRenamer WindowFun # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunRenamer WithClauses # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunRenamer (Alias SExp) # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunRenamer (Selected Query) # 
Instance details

Defined in Napkin.Types.QueryTransformer

FunRenamer (Selected Relation) # 
Instance details

Defined in Napkin.Types.QueryTransformer