Safe Haskell | None |
---|
DSH compiler module exposes the function fromQ that can be used to execute DSH programs on a database. It transform the DSH program into FerryCore which is then translated into SQL (through a table algebra). The SQL code is executed on the database and then processed to form a Haskell value.
- fromQ :: (QA a, IConnection conn) => conn -> Q a -> IO a
- debugPlan :: (QA a, IConnection conn) => conn -> Q a -> IO String
- debugCore :: (QA a, IConnection conn) => conn -> Q a -> IO String
- debugPlanOpt :: (QA a, IConnection conn) => conn -> Q a -> IO String
- debugSQL :: (QA a, IConnection conn) => conn -> Q a -> IO String
Documentation
debugPlan :: (QA a, IConnection conn) => conn -> Q a -> IO StringSource
Convert the query into unoptimised algebraic plan
debugPlanOpt :: (QA a, IConnection conn) => conn -> Q a -> IO StringSource
Convert the query into optimised algebraic plan