Skip to content

Commit

Permalink
Use pg-entity 0.0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tchoutri committed Dec 23, 2023
1 parent df51ba9 commit 5675833
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions cabal.project.freeze
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ constraints: any.Cabal ==3.8.1.0,
any.password-types ==1.0.0.0,
any.pcre2 ==2.2.1,
any.pem ==0.2.4,
any.pg-entity ==0.0.4.3,
any.pg-entity ==0.0.4.4,
pg-entity -book -prod,
any.pg-transact ==0.3.2.0,
any.pg-transact-effectful ==0.0.1.0,
Expand Down Expand Up @@ -446,4 +446,3 @@ constraints: any.Cabal ==3.8.1.0,
any.zigzag ==0.0.1.0,
any.zlib ==0.6.3.0,
zlib -bundled-c-zlib -non-blocking-ffi -pkg-config
index-state: hackage.haskell.org 2023-11-22T07:29:39Z
12 changes: 6 additions & 6 deletions src/core/Flora/Model/Package/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,12 @@ getRequirementsQuery
-> Query
getRequirementsQuery singleComponentType =
selectors
<> if singleComponentType
then tablesSingleType
else
tablesManyTypes
<> whereClause
<> orderClause
<> " "
<> (if singleComponentType then tablesSingleType else tablesManyTypes)
<> " "
<> whereClause
<> " "
<> orderClause
where
selectors =
[sql|
Expand Down
2 changes: 1 addition & 1 deletion test/Flora/PackageSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ testBytestringDependents :: TestEff ()
testBytestringDependents = do
results <- Query.getAllPackageDependentsWithLatestVersion (Namespace "haskell") (PackageName "bytestring") (0, 30) Nothing
assertEqual
24
25
(Vector.length results)

testNoSelfDependent :: TestEff ()
Expand Down

0 comments on commit 5675833

Please sign in to comment.