SwiftData and CloudKit how to filter with #Predicate?

Hi Forum,

I am wondering how I can filter the data retrieving from CloudKit with SwiftData and using the #Predicate macro?

I always get this error message:

Thread 1: Fatal error: Predicate does not support keypaths with multiple components

Does someone know how to add two predicates and use CloudKit? Thanks in advance 😊

SwiftData and CloudKit how to filter with #Predicate?
 
 
Q