chapmandu
02/24/2023, 3:50 AM<cfquery datasource="mydsn">
UPDATE mytable
SET mycolumn = <cfqueryparam cfsqltype="cf_sql_integer" value="" null="true">
where id = 1;
</cfquery>
The code above now throws:
Invalid data [''] for CFSQLTYPE in CFQUERYPARAM
whereas Lucee5 would ignore the value if the null attribute is true.bdw429s
02/24/2023, 3:53 AMbdw429s
02/24/2023, 3:54 AMbdw429s
02/24/2023, 3:54 AMbdw429s
02/24/2023, 3:56 AMbdw429s
02/24/2023, 3:57 AMnull attributebdw429s
02/24/2023, 3:57 AMnull=true so the validation check needs to be skipped in those casesbdw429s
02/24/2023, 3:58 AMchapmandu
02/24/2023, 4:08 AMbdw429s
02/24/2023, 4:11 AMbdw429s
02/24/2023, 4:12 AMzackster
02/24/2023, 5:40 AMchapmandu
02/24/2023, 5:57 AM