Skip to content


Update relation_aggregate
Browse files Browse the repository at this point in the history
(cherry picked from commit 7fbc828)
  • Loading branch information
stra2da authored and nyalldawson committed Sep 14, 2018
1 parent c425493 commit 26f567e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/function_help/json/relation_aggregate
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"name": "relation_aggregate",
"type": "function",
"description": "Returns an aggregate value calculated using all matching child features from a layer relation.",
"arguments": [
{"arg":"relation", "description":"a string, representing a relation ID"},
{"arg":"aggregate", "description":"a string corresponding to the aggregate to calculate. Valid options are:<br /><ul><li>count</li><li>count_distinct</li><li>count_missing</li><li>min</li><li>max</li><li>sum</li><li>mean</li><li>median</li><li>stdev</li><li>stdevsample</li><li>range</li><li>minority</li><li>majority</li><li>q1: first quartile</li><li>q3: third quartile</li><li>iqr: inter quartile range</li><li>min_length: minimum string length</li><li>max_length: maximum string length</li><li>concatenate: join strings with a concatenator</li></ul>"},
{"arg":"calculation", "description":"sub expression or field name to aggregate"},
{"arg":"expression", "description":"sub expression or field name to aggregate"},
{"arg":"concatenator", "optional":true, "description":"optional string to use to join values for 'concatenate' aggregate"}
"examples": [
Expand Down

0 comments on commit 26f567e

Please sign in to comment.