Skip to content

Commit

Permalink
Update docs for queryUnionList and expose func (#1977)
Browse files Browse the repository at this point in the history
* Update docs for `queryUnionList`

* Update QueryBuilder.hs
  • Loading branch information
amitaibu authored Jun 23, 2024
1 parent b3c9a4b commit 31ae4c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion IHP/QueryBuilder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module IHP.QueryBuilder
, limit
, offset
, queryUnion
, queryUnionList
, queryOr
, DefaultScope (..)
, filterWhere
Expand Down Expand Up @@ -1041,7 +1042,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 { .. }
Expand Down

0 comments on commit 31ae4c8

Please sign in to comment.