mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
hasMany(_:through:using:)
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user