algebra-sql-0.1.0.1: Relational Algebra and SQL Code Generation

Safe HaskellNone
LanguageHaskell98

Database.Algebra.SQL.Util

Description

This module abstracts over commonly used functions.

Synopsis

Documentation

renderDebugOutput :: CompatMode -> TADag -> MatFun -> Bool -> ShowS Source

Produces pretty output, optionally with debug information.

renderAdvancedDebugOutput :: CompatMode -> Bool -> Bool -> TADag -> MatFun -> String Source

Produces output which allows further inspection with the psql command line utility (and possibly others too).

renderOutputDSH :: CompatMode -> TADag -> (Maybe String, [String]) Source

Render output directly for DSH. The order from the root nodes in the directed acyclic graph is preserved. (This function uses the combined materialization strategy.)

renderOutputDSHWith :: CompatMode -> MatFun -> TADag -> (Maybe String, [String]) Source

Render output directly for DSH. The order from the root nodes in the directed acyclic graph is preserved.