CloudKit JS and Many-To-Many relationships

Hi,

I'm having difficulties fetching many 2 many relationships. I have an Actor entity (which I can query in CloudKit JS) that has 2 relationships: inputComponents and outputComponents, both pointing towards a Component entity. How to query these relationships?

Thanks Tom

CloudKit JS and Many-To-Many relationships
 
 
Q