mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
{
|
|
"name": "concatenate_unique",
|
|
"type": "function",
|
|
"groups": ["Aggregates"],
|
|
"description": "Returns all unique strings from a field or expression joined by a delimiter.",
|
|
"arguments": [{
|
|
"arg": "expression",
|
|
"description": "sub expression of field to aggregate"
|
|
}, {
|
|
"arg": "group_by",
|
|
"optional": true,
|
|
"description": "optional expression to use to group aggregate calculations"
|
|
}, {
|
|
"arg": "filter",
|
|
"optional": true,
|
|
"description": "optional expression to use to filter features used to calculate aggregate"
|
|
}, {
|
|
"arg": "concatenator",
|
|
"optional": true,
|
|
"description": "optional string to use to join values. Empty by default."
|
|
}, {
|
|
"arg": "order_by",
|
|
"optional": true,
|
|
"description": "optional expression to use to order features used to calculate aggregate. By default, the features will be returned in an unspecified order."
|
|
}],
|
|
"examples": [{
|
|
"expression": "concatenate_unique(\"town_name\",group_by:=\"state\",concatenator:=',')",
|
|
"returns": "comma separated list of unique town_names, grouped by state field"
|
|
}],
|
|
"tags": ["aggregated", "unique", "field", "joined", "delimiter", "strings"]
|
|
}
|