title: Fetch SwiftUI CoreData relationships
body: <p>I'm having a problem with new SwiftUI. I created CoreData models Cars and Datepoints with a one-to-many relationship (one car -> many datepoints). Therefore I need a fetch request for gathering all datepoints of a car. How am i doing this?</p>
  
  <p>Have a look at my current code for gathering just the cars. Can I modify @FetchRequest to reach that?</p>
  
  <pre><code> @FetchRequest(entity: Cars.entity(), sortDescriptors: [NSSortDescriptor(keyPath: \Cars.name, ascending: true)]) var cars: FetchedResults&lt;Cars&gt;
  </code></pre>