Quantcast
Viewing all articles
Browse latest Browse all 87530

Re: Problem with

@BKBK

 

Well, the alternative is to write something like this

<cfqueryparam cfsqltype="cf_sql_varchar" null="#structKeyExists(candidateSelection, 'CONFIG')#" value="#candidateSelection.CONFIG#"/>

Which in my mind at least is a more work and looks like duplicated code. First it has to check if the property exists then use the property.

 

Ideally CF should support NULL properties so that you could simply write:

<cfqueryparam cfsqltype="cf_sql_varchar" value="#candidateSelection.CONFIG#"/>

 

Regards,

Leonard


Viewing all articles
Browse latest Browse all 87530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>