odata many to many performance

hi
I found something very strange
when I have 3 entities (entity1 is main entity)
relation between entity1 to entity2 is many to many
relation between entity1 to entity3 is many to single

I'm using excel with odata v4
When expand of entity2 first - got performance issue since query is like:
http://localhost:8080/odata/v4/entity1('1086')entity2?$top=1000
and actually got a lot of queries sent to server

but when expand entity3 first - i got one query sent to server like:
http://localhost:8080/odata/v4/entity1$select=entity2,entity3&$expand=entity3($select=<fieldA>),entity2($select=<fieldB>)

any idea what cause the different and how to fix it?

Best Answer

  • Hello @eliau.miller ,

    Unfortunately, we have not heard back from you in response to our clarification request.

    I am closing this discussion thread for the lack of response.

    If you require further help, please do not hesitate to open a new discussion thread, and refer to this question via link, for any relevant information.

    -AHS

Answers

  • Hello @eliau.miller ,

    Your question does not appear to be related to Datascope Select API usage.

    This forum is dedicated to questions and discussions on Datascope Select ( DSS) API usage.

    Could you please confirm and provide more context, a Datscope Select request you are working with or you are trying to get to work would be most helpful in order to help you?