Skip to content

Commit

Permalink
Apply suggestions from Havart
Browse files Browse the repository at this point in the history
Co-authored-by: Håvard Tveite <havard.tveite@nmbu.no>
  • Loading branch information
2 people authored and nyalldawson committed Jul 21, 2020
1 parent fe9e14a commit 8383676
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/function_help/json/CASE
Expand Up @@ -2,9 +2,9 @@
"name": "CASE",
"type": "expression",
"groups": ["Conditionals"],
"description": "The CASE expression evaluates several conditions and returns a result when the first condition is met. When a condition is true, it will stop reading and return the corresponding result. If none of the conditions is true, it returns the value in the ELSE clause. Furthermore, if no ELSE clause is set and none of the conditions is met, it returns NULL.<br><pre>CASE<br>WHEN <i>condition</i> THEN <i>result</i><br>[ …n ]<br>[ ELSE <i>result</i> ]<br>END</pre>[ ] marks optional components<br>",
"description": "CASE is used to evaluate a series of conditions and return a result for the first condition that is met. The conditions are evaluated sequentially, and if a condition is true, the evaluation will stop, and the corresponding result will be returned. If none of the conditions are true, the value in the ELSE clause is returned. Furthermore, if no ELSE clause is set and none of the conditions are met, NULL is returned.<br><pre>CASE<br>WHEN <i>condition</i> THEN <i>result</i><br>[ …n ]<br>[ ELSE <i>result</i> ]<br>END</pre>[ ] marks optional components<br>",
"arguments": [
{"arg":"WHEN condition","description":"The condition expression to evaluate"},
{"arg":"WHEN condition","description":"A condition expression to evaluate"},
{"arg":"THEN result","description":"If <i>condition</i> evaluates to True then <i>result</i> is evaluated and returned."},
{"arg":"ELSE result","description":"If none of the above conditions evaluated to True then <i>result</i> is evaluated and returned."}
],
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/json/Form
@@ -1,5 +1,5 @@
{
"name": "Form",
"type": "group",
"description": "This group contains functions that are only available in the attribute form context. For example, in field widget settings."
"description": "This group contains functions that are available in the attribute form context. For example, in field widget settings."
}
2 changes: 1 addition & 1 deletion resources/function_help/json/Processing
@@ -1,5 +1,5 @@
{
"name": "Processing",
"type": "group",
"description": "This group contains functions that are only available in the processing algorithms context."
"description": "This group contains functions that are available in the processing algorithms context."
}

0 comments on commit 8383676

Please sign in to comment.