mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Cleanup
This commit is contained in:
1 parent
c5ac0ea941
commit
2a85d89364
2 files changed
+2
-2
No files matched your search
@@ -119,7 +119,7 @@ extension TableRecord where Self: EncodableRecord {
|
||||
let destinationRelation = association.sqlAssociation.destinationRelation(fromOriginRows: { db in
|
||||
try [Row(PersistenceContainer(db, self))]
|
||||
})
|
||||
return QueryInterfaceRequest<A.RowDecoder>(relation: destinationRelation)
|
||||
return QueryInterfaceRequest(relation: destinationRelation)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ public struct QueryInterfaceRequest<T> {
|
||||
self.init(query: SQLSelectQuery(relation: relation))
|
||||
}
|
||||
|
||||
@usableFromInline
|
||||
@usableFromInline // TODO: should not be @usableFromInline
|
||||
var prefetchedAssociations: [SQLAssociation] {
|
||||
return query.relation.prefetchedAssociations
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user