I have a collection and I need adding 2 array fields with the Ids from other models. But in examples I just see examples using the associations in both models, but in my case a Product model not necessary need be associated in a Client. But Clients have products.
Hello folks!
I have a collection and I need adding 2 array fields with the Ids from other models. But in examples I just see examples using the associations in both models, but in my case a Product model not necessary need be associated in a Client. But Clients have products.
Can show me how I can implement this association?
Thanks in advance!!