I am evaluating loopback as the API server for a new project. I need to return data in a format specific to Ember and I need to return either: an array of IDs to related models, or an embedded array of the related models objects.
I have experimented with using the Include filter to automatically include the related models (using hasMany relationship type). When we do basic performance testing we find that the include filter adds a significant performance penalty.
What is the best performing method for getting access to the related models?