Skip to content
Browse files

added english coalesce() function help

  • Loading branch information
lynxlynxlynx committed Sep 7, 2012
1 parent 68cfb6c commit 89811ae0c12e56dd7289640d35b4f3c7c4a0af22
Showing with 19 additions and 0 deletions.
  1. +19 −0 resources/function_help/coalesce-en_US
@@ -0,0 +1,19 @@
<h3>coalesce() function</h3>
Returns the first non-NULL value from the expression list.
This function can take any number of arguments.
<code>coalesce(expression1, expression2 ...)</code><br>

<code>expression</code> - any valid expression or value, irregardless of type.

<!-- Show example of function.-->
<code>coalesce(NULL, 2) &rarr; 2</code><br>
<code>coalesce(NULL, 2, 3) &rarr; 2</code><br>
<code>coalesce(7, NULL, 3*2) &rarr; 7</code><br><br>
<code>coalesce("fieldA", "fallbackField", 'ERROR') &rarr; value of fieldA if it is non-NULL
else the value of "fallbackField" or the string 'ERROR' if both are NULL</code><br>

0 comments on commit 89811ae

Please sign in to comment.
You can’t perform that action at this time.