Chris,

That's actually a good point.  I'm not sure it'll make a noticeable
difference in performance though.  Have you made this change in your version
to see if things appear to work and what sort of difference it may have
made?

Doug

On Wed, Jul 9, 2008 at 4:45 PM, Chris Blackwell <
[EMAIL PROTECTED]> wrote:

> I was looking through my project dao's today in an attempt to debug
> something and saw lots of IIF()'s within the cfqueryparams to evaluate
> whether the field should be null.
>
> from the xsl file..
> null="#Iif(NOT Len(arguments.to.<xsl:value-of select="@alias" />),
> DE(true), DE(false))#"
>
> I don't think these are necessary, as could it not be written as
>
> null="#NOT Len(arguments.to.<xsl:value-of select="@alias" />)#"
>
> CF will return "Yes" or "No" for these expressions.  I think Railo/OpenBD
> may return "true" / "false" IIRC
> either way its still perfectly valid for the null attribute
>
> Chris
>
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> Reactor for ColdFusion Mailing List
> [EMAIL PROTECTED]
> Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --




-- 
Doug Hughes, President
Alagad Inc.
[EMAIL PROTECTED]
888 Alagad4 (x300)
Office: 919-550-0755
Fax: 888-248-7836


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to