qb icon indicating copy to clipboard operation
qb copied to clipboard

sqltype ignored when used in a param definition

Open Kalten70 opened this issue 1 year ago • 0 comments

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.

Kalten70 avatar Oct 16 '23 23:10 Kalten70