Fix failing test for #1315

This commit is contained in:
Gwendal Roué committed 2023-01-15 13:39:05 +01:00
1 parent fb547c1a15
commit 2976e81a95
3 files changed
+15 -8

No files matched your search

@@ -1355,7 +1355,7 @@ private func prefetch(
// useless, and we only need to select pivot columns:
let originRelation = originRelation
.unorderedUnlessLimited() // only preserve ordering in the CTE if limited
.removingChildrenForPrefetchedAssociations()
.removingPrefetchedAssociations()
.selectOnly(leftColumns.map { SQLExpression.column($0).sqlSelection })
let originCTE = CommonTableExpression(
named: "grdb_base",