[Qgis-developer] Question about expression compiling

David Adler dadler at adtechgeospatial.com
Tue Feb 2 15:01:34 PST 2016


We are working on the DB2 expression compiler and testing it with a 
Python driver.

For an expression like NAME IS NULL
What should be the node type of NULL?  It appears to be 
QgsExpression::ntLiteral but it doesn't seem to have a valid value and 
fails the call to quotedValue().

For now we are using a hack to check if n->dump() == NULL and treating 
it as a special case.

Also, I assume that ILIKE is a case insensitive LIKE.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Qgis-developer mailing list