mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-28 00:06:23 -05:00
- array_mode new parameter merge for return value behaviour - updated expression documentation for array_mode, majority and minority - updated tests
13 lines
580 B
Plaintext
13 lines
580 B
Plaintext
{
|
|
"name": "array_minority",
|
|
"type": "function",
|
|
"groups": ["Arrays"],
|
|
"description": "Returns an array containing the minority values of a given array. All values are minority exept the majority value, if available.",
|
|
"arguments": [ {"arg":"array","description":"an array"} ],
|
|
"examples": [
|
|
{ "expression":"array_minority(array(0,1,42,42,43))", "returns":"[ 0, 1, 42, 43 ]"},
|
|
{ "expression":"array_minority(array(0,1,42,42,43,42))", "returns":"[ 0, 1, 42, 43 ]"},
|
|
{ "expression":"array_minority(array(0,1,42,42,43,42,42))", "returns":"[ 0, 1, 43 ]"}
|
|
]
|
|
}
|