Skip to content

Instance Method

with(_:_:)

@discardableResult func with<Relation>(_ throughKey: KeyPath<Self.Model, Relation>, _ nested: (NestedEagerLoadBuilder<Self, Relation>) throws -> ()) rethrows -> Self where Relation : EagerLoadable, Self.Model == Relation.From