napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Spec.QueryTransformer

Synopsis

Documentation

namespaceManagedTables :: (Ref Table -> Ref Table) -> Specs b -> Specs b #

Rename all napkin-managed tables in the `Specs b`.

namespaceUnmanagedTables :: (Ref Table -> Ref Table) -> Specs b -> Specs b #

Rename all unmanaged tables in the `Specs b`.

namespaceSomeTables :: (Ref Table -> Bool) -> (Ref Table -> Ref Table) -> Specs b -> Specs b #

Rename some tables in the `Specs b`.

namespaceAllTables :: (Ref Table -> Ref Table) -> Specs b -> Specs b #

Apply a renamer to all tables in the `Specs b` (managed or unmanaged).