What is the new retrievedEntities in breeze.QueryResult?

user210757

I have notice a new property - retrievedEntities on the breeze.QueryResult object.

Googling only turned up this -

https://github.com/Breeze/breeze.js/commit/7eb5deda8dfcff83ddf5a2cecf39ae21a9266a9b

Which is a check-in with comment

"Added retrievedEntities property to results object returned by entity…"

On another note - how do I view the full entire check-in comment on github?!

Steve Schmitt

The retrievedEntities property is an array of all the entities that were returned by the query. This will differ from the results property when your query uses .expand() to get related entities. For example, the object returned by the query

var query = EntityQuery.from('Orders')
.take(20)
.expand('Customer, OrderDetails');

would have a results property that is an array of 20 Order entities; each Order would have its associated Customer and OrderDetail entities attached to it in a graph.

The retrievedEntities property would be a flat array of all Order, Customer, and OrderDetail entities. This may or may not be useful, depending on what you are doing with the query results.

Thanks for the reminder to update the documentation!

P.S. The full comment is there in the github commit, but the second line is in a very small font (and very brief).

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Breeze Typescript 도구

분류에서Dev

@QueryResult가 작동하지 않습니다.

분류에서Dev

In Ruby, what does "new" mean in {1 => new("alice")}?

분류에서Dev

What is the difference between “int *a = new int” and “int *a = new int [5]"?

분류에서Dev

New to ABAP GUI Programming - what to learn?

분류에서Dev

What can delay the establishment of new connections with NetTcpBinding?

분류에서Dev

What does ChainMap.new_child() return?

분류에서Dev

What is the new syntax for `nmcli show` and `nmcli modify`?

분류에서Dev

breeze.config.MetadataHelper is not a constructor error with Durandal and Breeze

분류에서Dev

Breeze 탐색 속성

분류에서Dev

Breeze System.InvalidCastException with EntityFramework

분류에서Dev

Breeze System.InvalidCastException with EntityFramework

분류에서Dev

Scala Breeze zipValues 문제

분류에서Dev

What happens to the old binary when a new one compiled from source?

분류에서Dev

Azure Cmdlet - New-AzureWebsite, what is different between Name and HostName?

분류에서Dev

What is the recommended procedure for upgrading to a new maintenance build of oXygen XML?

분류에서Dev

What do I need to connect this laptop HD to my new laptop?

분류에서Dev

What is the difference in using "touch file" and "> file" in creating a new file?

분류에서Dev

What is the best way to concatenate 2 lists into a new list in Java?

분류에서Dev

SDN + OGM에서 SDN / RX로 전환하는 동안 @QueryResult 교체

분류에서Dev

How to correctly implement class inheritance, annotated as @QueryResult in java neo4j

분류에서Dev

breezejs: trying to configure breeze with standard ODATA service

분류에서Dev

Hot Towel Breeze API 구성

분류에서Dev

Angular / Breeze-camelCasing in model binding

분류에서Dev

Breeze JS 보안 및 헤더

분류에서Dev

RavenDB 용 Breeze.Sharp ContextProvider

분류에서Dev

Breeze Validate Entity and its navigational properties

분류에서Dev

Breeze : building metadata with the NHMetadataBuilder when using Envers

분류에서Dev

Metadata call multiple times in breeze can it reduce?

Related 관련 기사

  1. 1

    Breeze Typescript 도구

  2. 2

    @QueryResult가 작동하지 않습니다.

  3. 3

    In Ruby, what does "new" mean in {1 => new("alice")}?

  4. 4

    What is the difference between “int *a = new int” and “int *a = new int [5]"?

  5. 5

    New to ABAP GUI Programming - what to learn?

  6. 6

    What can delay the establishment of new connections with NetTcpBinding?

  7. 7

    What does ChainMap.new_child() return?

  8. 8

    What is the new syntax for `nmcli show` and `nmcli modify`?

  9. 9

    breeze.config.MetadataHelper is not a constructor error with Durandal and Breeze

  10. 10

    Breeze 탐색 속성

  11. 11

    Breeze System.InvalidCastException with EntityFramework

  12. 12

    Breeze System.InvalidCastException with EntityFramework

  13. 13

    Scala Breeze zipValues 문제

  14. 14

    What happens to the old binary when a new one compiled from source?

  15. 15

    Azure Cmdlet - New-AzureWebsite, what is different between Name and HostName?

  16. 16

    What is the recommended procedure for upgrading to a new maintenance build of oXygen XML?

  17. 17

    What do I need to connect this laptop HD to my new laptop?

  18. 18

    What is the difference in using "touch file" and "> file" in creating a new file?

  19. 19

    What is the best way to concatenate 2 lists into a new list in Java?

  20. 20

    SDN + OGM에서 SDN / RX로 전환하는 동안 @QueryResult 교체

  21. 21

    How to correctly implement class inheritance, annotated as @QueryResult in java neo4j

  22. 22

    breezejs: trying to configure breeze with standard ODATA service

  23. 23

    Hot Towel Breeze API 구성

  24. 24

    Angular / Breeze-camelCasing in model binding

  25. 25

    Breeze JS 보안 및 헤더

  26. 26

    RavenDB 용 Breeze.Sharp ContextProvider

  27. 27

    Breeze Validate Entity and its navigational properties

  28. 28

    Breeze : building metadata with the NHMetadataBuilder when using Envers

  29. 29

    Metadata call multiple times in breeze can it reduce?

뜨겁다태그

보관