From 45b39bbf0f9408b2a4dca1c980600a06c5db6a80 Mon Sep 17 00:00:00 2001 From: Amitai Burstein Date: Sun, 23 Jun 2024 10:09:26 +0300 Subject: [PATCH 1/2] Update docs for `queryUnionList` --- IHP/QueryBuilder.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IHP/QueryBuilder.hs b/IHP/QueryBuilder.hs index 81bd9c7d5..66250fbc9 100644 --- a/IHP/QueryBuilder.hs +++ b/IHP/QueryBuilder.hs @@ -1041,7 +1041,7 @@ queryUnion firstQueryBuilderProvider secondQueryBuilderProvider = NoJoinQueryBui -- > |> filterWhere (#projectType, projectType) -- > |> filterWhere (#participants, participants) -- > --- > theQuery = queryOrList (map valuePairToCondition values) +-- > theQuery = queryUnionList (map valuePairToCondition values) -- > -- > projects <- fetch theQuery -- > render IndexView { .. } From e42b7e4b5efa3ca41f674a4d5f0797f297c6a58d Mon Sep 17 00:00:00 2001 From: Amitai Burstein Date: Sun, 23 Jun 2024 17:48:33 +0300 Subject: [PATCH 2/2] Update QueryBuilder.hs --- IHP/QueryBuilder.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/IHP/QueryBuilder.hs b/IHP/QueryBuilder.hs index 66250fbc9..fd3c8d093 100644 --- a/IHP/QueryBuilder.hs +++ b/IHP/QueryBuilder.hs @@ -18,6 +18,7 @@ module IHP.QueryBuilder , limit , offset , queryUnion +, queryUnionList , queryOr , DefaultScope (..) , filterWhere