loopback find include not loading relation code example
Example 1: loopback 3 includes many
User.find({include: ['posts', 'orders']}, function() { /* ... */ });
Example 2: loopback include relation
in url:
/customers?filter[include]=reviews
in code:
User.find({include: 'reviews'}, function() { /* ... */ });