quick - any way to include comments in QoQ? (via q...
# adobe
m
quick - any way to include comments in QoQ? (via queryExecute) Right now it complains about
INNER JOIN blahTable -- some handy comment
and
INNER JOIN blahTable /* some handy comment */
r
Have you tried
--Comment here
?
m
yes (see first example). Unless you're suggesting it has to be
--
followed by a non-whitespace character?
r
Ah, overlooked your dashes example
m
no worries
r
I don't think there is a way to do it outside of creating something like
Copy code
<cfscript>
sql = 'SELECT fieldname'; // Comment 1
sql &= 'FROM tablename'; // Comment 2
queryExecute(sql, {...}, {...});
</cfscript>
b
QoQ has no comments, just CFML comments
I do have a ticket in for Lucee to add that as a feature
Maybe Adobe will follow suit
👍 1