mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Fix failing test for #1315
This commit is contained in:
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",
|
||||
|
||||
Reference in new issue
Block a user