Distinct - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki
The DISTINCT
is a child of Datasources that returns only rows that contain a unique/distinct field value. The DISTINCT
is useful for removing data from a Datasource that is not unique based on its source field.
DISTINCT is case sensitive. You can chain other transforms and manipulate the data further to remove this.
None
Name | Type | Default | Description | Req |
---|---|---|---|---|
field | string | "" | the field name to check distinct values against | ✔ |
enabled | bool | "true" | boolean expression to (en/dis)able the datasource | ✔ |
<FML>
<!-- We used a DATA datasource but any datasource can be used -->
<DATA id="distinctArrivals">
<DISTINCT field="arrivalDayOfWeek"/>
</DATA>
</FML>