Extend the readme

This commit is contained in:
Nikita Volkov 2019-12-04 15:48:51 +03:00
parent 233051f057
commit b629be8cb4

View File

@ -96,6 +96,10 @@ sumAndDivModSession a b c = do
-- --
-- It's recommended to define statements in a dedicated 'Statements' -- It's recommended to define statements in a dedicated 'Statements'
-- submodule of your project. -- submodule of your project.
--
-- In the following code we use the extension library "hasql-th",
-- which generates statement definitions from SQL,
-- compile-time checking the syntax on the way.
------------------------- -------------------------
sumStatement :: Statement (Int64, Int64) Int64 sumStatement :: Statement (Int64, Int64) Int64