SwiftfuncSwiftDataSwiftData.BackingData

setValue

method descriptor for SwiftData.BackingData.setValue<A, B where A1: Encodable, A1: SwiftData.RelationshipCollection, B1 == A1.RelationshipCollection.PersistentElement>(forKey: KeyPath<A.Model, A1>, to: A1) -> ()

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

ABA1B1

req{}

param{}

  1. 0forKey:
    • argassociatedTypeModel
      • basegenericParameterA
    • arggenericParameterA1
  2. 1to:
    genericParameterA1