I'm trying to store array of Object Id's of another model.
Sub Service
skills: {
collection: 'subservice',
via: 'contractors'
},
Contractor Model
contractors : {
collection: 'contractor',
via: 'skills'
},
and this solution didn't worked... How to store array of ObjectID's in Mongo with Sails?