loopback 3 scope 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() { /* ... */ });