loopback-connector-couch
loopback-connector-couch copied to clipboard
filter[include] not working
I have two models in my app as 'Owner' and 'Place'. Owner and Place are related by hasMany relation (i.e Owner hasMany Place). Now I am trying to populate all the places that belong to respective owners in a single GET request i.e localhost:3000/api/owners?filter[include]=places. But the problem is I am getting the owner details but there's no 'places' array returned in the response. Please anybody help me on this.
It seems I have the same problem. Include filter not working on couchdb