balderdashy / waterline-docs

WARNING: The content in this repo is out of date! See https://github.com/balderdashy/sails-docs for the most up-to-date documentation
452 stars 161 forks source link

Association One-to-Many with One way #103

Closed thebergamo closed 8 years ago

thebergamo commented 8 years ago

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!!

dv336699 commented 8 years ago

You should post questions on stackoverflow

thebergamo commented 8 years ago

I think this question is solved :)