hasMany(_:through:using:)

This commit is contained in:
Gwendal Roué committed 2019-03-04 08:52:07 +01:00
1 parent 6489c80846
commit addfa45d3a
2 files changed
+7 -6

No files matched your search

@@ -19,8 +19,9 @@ extension HasManyThroughAssociation: TableRequest where Destination: TableRecord
extension TableRecord {
public static func hasMany<Pivot, Target>(
_ target: Target,
through pivot: Pivot)
_ destination: Target.RowDecoder.Type,
through pivot: Pivot,
using target: Target)
-> HasManyThroughAssociation<Self, Target.RowDecoder>
where Pivot: Association,
Target: Association,