This commit is contained in:
Gwendal Roué committed 2019-05-20 19:18:27 +02:00
1 parent 81476e58b8
commit c841120d3b
3 files changed
+5 -7

No files matched your search

@@ -129,7 +129,7 @@ public func && <RowDecoder>(lhs: AssociationAggregate<RowDecoder>, rhs: Associat
}
}
// TODO: test & document
// TODO: test
/// :nodoc:
public func && <RowDecoder>(lhs: AssociationAggregate<RowDecoder>, rhs: SQLExpressible) -> AssociationAggregate<RowDecoder> {
return AssociationAggregate { request in
@@ -138,7 +138,7 @@ public func && <RowDecoder>(lhs: AssociationAggregate<RowDecoder>, rhs: SQLExpre
}
}
// TODO: test & document
// TODO: test
/// :nodoc:
public func && <RowDecoder>(lhs: SQLExpressible, rhs: AssociationAggregate<RowDecoder>) -> AssociationAggregate<RowDecoder> {
return AssociationAggregate { request in
@@ -161,7 +161,7 @@ public func || <RowDecoder>(lhs: AssociationAggregate<RowDecoder>, rhs: Associat
}
}
// TODO: test & document
// TODO: test
/// :nodoc:
public func || <RowDecoder>(lhs: AssociationAggregate<RowDecoder>, rhs: SQLExpressible) -> AssociationAggregate<RowDecoder> {
return AssociationAggregate { request in
@@ -170,7 +170,7 @@ public func || <RowDecoder>(lhs: AssociationAggregate<RowDecoder>, rhs: SQLExpre
}
}
// TODO: test & document
// TODO: test
/// :nodoc:
public func || <RowDecoder>(lhs: SQLExpressible, rhs: AssociationAggregate<RowDecoder>) -> AssociationAggregate<RowDecoder> {
return AssociationAggregate { request in
@@ -61,8 +61,6 @@ public struct HasManyThroughAssociation<Origin, Destination>: AssociationToMany
extension HasManyThroughAssociation: TableRequest where Destination: TableRecord { }
extension TableRecord {
// TODO: version without using: which figures out the foreign key to use.
/// Creates a "Has Many Through" association between Self and the
/// destination type.
///
@@ -123,7 +123,7 @@ class AssociationPrefetchingRowTests: GRDBTestCase {
.filter(false)
.including(all: A
.hasMany(B.self)
.orderByPrimaryKey()) // TODO: auto-pluralization
.orderByPrimaryKey())
.orderByPrimaryKey()
// Row.fetchAll