问题描述
我正在学习FetchXML,目前是它的新手。
I am learning FetchXML and am currently new to it.
我尝试查看位于,但我觉得它没有很大帮助
I tried looking at the documentation located here but I did not find it very helpful
这行是什么意思:
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
mapping = logical
是什么部分意思?
distinct = true
部分是什么意思?
What does the mapping="logical"
part mean?What does the distinct="true"
part mean?
推荐答案
按照我们有两个枚举值,即内部&逻辑映射属性。我们必须在查询&中使用 mapping = logical
As per FetchXML schema we have two enum values namely internal & logical for mapping attribute. We have to use mapping="logical"
in our queries & internal may be for Platform usage (my guess).
<xs:attribute name="mapping">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="internal" />
<xs:enumeration value="logical" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
distinct = true
将删除在结果集中重复值。这类似于SQL概念。
distinct="true"
will remove the duplicate values in your resultset. This is similar to SQL concept.
这篇关于FetchXML了解不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!