Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqltype ignored when used in a param definition #269

Open
Kalten70 opened this issue Oct 16, 2023 · 0 comments
Open

sqltype ignored when used in a param definition #269

Kalten70 opened this issue Oct 16, 2023 · 0 comments

Comments

@Kalten70
Copy link

Kalten70 commented Oct 16, 2023

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 Kalten70 changed the title sqltype ignored when included sqltype ignored when used in a param definition Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant