loopback 3 relation code example
Example: loopback include relation
in url:
/customers?filter[include]=reviews
in code:
User.find({include: 'reviews'}, function() { /* ... */ });
in url:
/customers?filter[include]=reviews
in code:
User.find({include: 'reviews'}, function() { /* ... */ });