Fixed
Details
Assignee
Igal SapirIgal SapirReporter
Igal SapirIgal SapirLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NonePriority
Minor
Details
Details
Assignee
Igal Sapir
Igal SapirReporter
Igal Sapir
Igal SapirLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Priority
Created 15 June 2017 at 20:31
Updated 28 February 2022 at 10:48
Resolved 25 August 2017 at 21:17
cfqueryparam can accept the attribute list=true with separator="," which will take a csv list and use it as needed (e.g. wrap each value with 'single-quotes' etc.)
It'd be very useful to be able instead to pass an array, so that the following snippets are equivalent:
currently:
params={ values="1, 2, 3", list="true", separator=",", sqltype="integer" }
proposed:
params={ values=[1, 2, 3], sqltype="integer" }