XecozzOriginal post
Apple Developer
Hello, I have 2 collections (users and exercises) and I would like to have a record collection with 2 relationships (users and exercises) and a value. I've therefore chosen the many to many relationship (since users can have several records and the same goes for exercises), but the problem is that I have to use arrays. How can I avoid using them?
Ty
Summary
Developers want to establish a many-to-many relationship between users and exercises without using arrays.
**Solution:** You can use a junction or pivot table to establish a many-to-many relationship between users and exercises without directly using arrays. This approach allows you to associate users with multiple exercises and vice versa without the need for arrays directly in the user object.