Open jordimontana82 opened 7 months ago
Hey @jordimontana82 ,
we are currently developing a plugin that makes heavy use of the Exists
query operator. Unfortunately, it doesn't seem like Fake XRM Easy supports unit tests for these queries.
Exception occurred: The join operator Exists is currently not supported. .
If you are using FakeXrmEasy under a commercial context and have an appropiate commercial license
for this use, please raise an issue via our GitHub issue tracker at
https://github.com/DynamicsValue/fake-xrm-easy or, else, please reach out via
support@dynamicsvalue.com so we can prioritise it.
We have booked several licenses for our company. Is there any ETA on when this feature is gonna land?
Exists operator would be highly recommended. 👍
This issue is a container for several FetchXml improvements that would probably be too big to address in a single issue, so it's a placeholder for investigating them, and will likely be implemented throughout several releases.
Mark has a great resource summarizing some of them: https://markcarrington.dev/2024/03/08/new-fetchxml-features-and-documentation/
The official FetchXml documentation can be found here: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/overview
Some of the new features that need investigation are:
Extra Llink operators
FXE currenly supports inner and outer (LEFT OUTER) joins. Since the query engine was implemented several other link types have been introduced.
any
not any
all
not all
exists
in
matchfirstrowusingcrossapply
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/reference/link-entity#link-type-options https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/join-tables?tabs=fetchxml#use-exists-or-in-link-types
Order By
entityname
attribute introduced allowing to arbitrarily sort by any linked entity column without relying on the order of appearance in the FetchXmlhttps://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/order-rows
Cross-Table column comparisons
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/filter-rows?tabs=fetchxml#cross-table-comparisons
Other
Some other areas that need investigation to see if they are implemented: