mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
14 lines
578 B
Plaintext
14 lines
578 B
Plaintext
|
{
|
||
|
"name": "count",
|
||
|
"type": "function",
|
||
|
"description": "Returns the count of matching features.",
|
||
|
"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"}
|
||
|
],
|
||
|
"examples": [
|
||
|
{ "expression":"count(\"stations\",group_by:=\"state\")", "returns":"count of stations, grouped by state field"}
|
||
|
]
|
||
|
}
|