loopback include multiple relations

JavaScript
User.find({include: ['posts', 'orders']}, function() { /* ... */ });in url:
/customers?filter[include]=reviews

in code:
User.find({include: 'reviews'}, function() { /* ... */ });// Return all post owners (users), and all posts and orders of
// each owner. The posts also include images.
Post.find({include: {owner: [{posts: 'images'} , 'orders']}}, 
          function() { /* ... */ });Post.find({include: {owner: [{posts: 'images'} , 'orders']}}, function(err, posts) {
 posts.forEach(function(post) {
   // post.owner points to the relation method instead of the owner instance
   var p = post.toJSON();
   console.log(p.owner.posts, p.owner.orders);
 });
 //... 
});<ion-datetime displayFormat="HH:mm" [(ngModel)]="myDate" minuteValues="0,30">
Post.find({
  include: {
    relation: 'owner', // include the owner object
    scope: { // further filter the owner object
      fields: ['username', 'email'], // only show two fields
      include: { // include orders for the owner
        relation: 'orders', 
        scope: {
          where: {orderId: 5} // only select order with id 5
        }
      }
    }
  }
}, function() { /* ... */ });

Source

Also in JavaScript: