Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当从服务器收集大量实体时,我们可以使用该select方法仅传输我们需要的数据。我有一种情况,其中大部分不需要的数据都在必须包含在其中一个字段中的导航属性上。如何从查询结果中排除不需要的数据?
select
您只需要使用“选择”操作指定所需的数据。
这是一个例子:
breeze.EntityQuery("Customers") .where(//Something) .select("Name, LastName, Address.ZipCode, Details.HasChildren");