mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-25 06:33:19 +03:00
Extend the readme
This commit is contained in:
parent
233051f057
commit
b629be8cb4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user