Hello everyone, forum users!
Can you please tell me how to merge several collections into one?
There are several tables, identical in columns - color, gender, material.
I use a many-to-many relationship.
To get one of them I do this:
This will create a new collection that contains all the items from both $colors and $genders. You can continue to chain methods onto $allParameters just like any other collection.