Skip to content
Browse files
Include NULL in expression builder available functions list
Cherry-picked from 7b18f67
  • Loading branch information
nyalldawson committed Jul 8, 2015
1 parent c3b0bc3 commit 29a7bf7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
@@ -0,0 +1,14 @@
<h3>NULL value</h3>
Equates to a null value.



<pre> NULL &rarr; returns a null value </pre>

<p>To test for NULL use an <pre>IS NULL</pre> or <pre>IS NOT NULL</pre> expression.</p>
@@ -406,6 +406,8 @@ void QgsExpressionBuilderWidget::updateFunctionTree()
registerItem( "Conditionals", "CASE", casestring );
registerItem( "Conditionals", "CASE ELSE", caseelsestring );

registerItem( "Fields and Values", "NULL", "NULL" );

// Load the functions from the QgsExpression class
int count = QgsExpression::functionCount();
for ( int i = 0; i < count; i++ )

0 comments on commit 29a7bf7

Please sign in to comment.