| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Napkin.Types.Transformation.NonCteRename
Documentation
renameNonCteTables :: (Ref Table -> Ref Table) -> Query -> Query #
renameNonCteTables traverses deeply query and applies
 given name-changing function to
 each table's name but only if the table has been used in a FROM
 statement as a source table and not overlapped by local Cte tables.