Refines a WixDataAggregate
to only contain the minimum value from each aggregation group.
The min()
function refines a WixDataAggregate
to contain the minimum
value from the specified property for each aggregated group or from the
whole collection if no group is defined.
When the aggregation is run, the returned WixDataAggregateResult
object contains an item for each group with the following key:value pairs:
projectedName
, the key is named
using that value. Otherwise, the key is named using the following format:
"propertyNameMin"
, where propertyName
is the name of the specified property.The following types of properties can be compared to determine a minimum value:
"text"
is greater than "Text"
.Note: Aggregations can only be used on collections you have created. They cannot be used on Wix App Collections.
The property in which to find the minimum value.
The name of the property in the aggregation results containing the minimum value.