Reputation: 3108
When gathering a large number of entities from the server we can use the select
method to transfer only the data we need. I have a situation where much of the unwanted data is on navigation properties that must be included for one of their fields. How can I exclude the unwanted data from my query results?
Upvotes: 1
Views: 418
Reputation: 2002
You just need to specify the data that you want with the "select" operation.
Here is an example:
breeze.EntityQuery("Customers")
.where(//Something)
.select("Name, LastName, Address.ZipCode, Details.HasChildren");
Upvotes: 2