I have modelA with one to many relationship with modelB and modelB has many to many relationship with modelC. How can I retrieve a record in modelA returning also the related data in modelB and modelC? I'm also thinking of using through
but I can't find any documentation regarding it.
Thanks in advance guys.
Please check this documentation. http://beta.sailsjs.org/#!documentation/reference/ModelAssociations/Many-to-Many.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.