简体   繁体   中英

How to retrieve nested models in sails?

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.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM