From 48121b6bdd1e5c407cfe792a25e5a1712029377c Mon Sep 17 00:00:00 2001 From: Nikita Volkov Date: Wed, 8 May 2024 09:26:14 +0300 Subject: [PATCH] Correct the docs --- library/Hasql/Pipeline/Core.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Hasql/Pipeline/Core.hs b/library/Hasql/Pipeline/Core.hs index 2bbe612..2b83f17 100644 --- a/library/Hasql/Pipeline/Core.hs +++ b/library/Hasql/Pipeline/Core.hs @@ -87,10 +87,10 @@ run (Pipeline sendQueriesInIO) connection registry integerDatetimes = do -- -- @ -- insertOrders :: [OrderDetails] -> 'Hasql.Session.Session' [OrderId] --- insertOrders songs = +-- insertOrders orders = -- 'Hasql.Session.pipeline' $ --- forM songs $ \\song -> --- 'Hasql.Pipeline.statement' song Statements.insertOrder +-- forM orders $ \\order -> +-- 'Hasql.Pipeline.statement' order Statements.insertOrder -- @ -- -- === Combining Queries