Add SQL Attribute to cfquery

Description

Currently the SQL code is passed to cfquery in the tag's body, which is fine in CFML, but inconvenient in cfscript because it has to be enclosed with `echo()` or similar function.

It would be very convenient to be able to pass the SQL code in an attribute, especially in cases where we already have the SQL code in a variable.

Activity

Zac Spitzer 12 December 2024 at 14:13

Michael Offner 22 March 2018 at 17:34

+1

Fixed

Details

Assignee

Reporter

Labels

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

Fix versions

Priority

Created 21 March 2018 at 22:05
Updated 12 December 2024 at 14:13
Resolved 9 April 2018 at 08:41