qb
qb copied to clipboard
sqltype ignored when used in a param definition
If the attribute sqltype
is used with a param block, qb seems to ignore it and instead infers a cfsqltype
, which may be different to what was defined.
According to the Lucee 5 docs, cfsqltype
is deprecated and sqltype
should be used.
If qb 9 is only supporting Lucee 5+, shouldn't it acknowledge the newer attribute sqltype
or even default to using it instead of cfsqltype
with the values excluding cf_sql_
?
If there are no plans to change this, maybe honour the sqltype
if used, or allow a way in options to define which attribute is preferred.