Adam Cameron
parallel
parameter description. Should be "Parallelism is supported only when the second parameter is a closure . When the second parameter is a key, paralellism is not supported.". My emphasis. Also, really, it's the argument (value) not the parameter (name). "Parameter value" would work.Jim Priest
05/24/2023, 6:26 PMMark Takata (Adobe)
05/31/2023, 4:41 PMAdam Cameron
q = queryNew("col", "varchar", [["hi"]])
function mapper(row) { // not a closure
return {col=row.col.reverse()}
}
mapped = q.map(mapper)
writeDump(mapped)
https://trycf.com/gist/306890bf29ba7837073583d525d00775/acf2021?theme=monokaimtbrown
06/26/2023, 4:49 PMAdam Cameron
object
can coexist with the other attributes.
In the Attributes box it contradicts this, saying it's cannot coexist with the other attributes. It's this bit that is correct.aliaspooryorik
bdw429s
07/26/2023, 5:12 PMβ’ You use the cffunction tag to define CFC methods. The CFScript function statement can create simple methods, but it does not provide options to control access to the method, provide metadata, specify a return type, or control generated output.But that doesn't seem correct. I do
public String function( arg ) metadata="oh, yeah" outpout=false {
}
all the time in script.bdw429s
08/11/2023, 10:46 PM\
in the left column. I'm guessing your CMS treated it as an escape?
https://helpx.adobe.com/coldfusion/developing-applications/the-cfml-programming-lang[β¦]xpressions-and-number-signs/expressions-developing-guide.htmlraymondcamden
08/16/2023, 6:07 PMraymondcamden
08/16/2023, 6:07 PMraymondcamden
08/16/2023, 6:13 PMMark Takata (Adobe)
08/16/2023, 8:16 PMsaghosh
08/17/2023, 5:11 AMAdam Cameron
Returns
A number in the range 2-36, as a string.Erm... I think it just returns an integer, doesn't it?
Jim Priest
10/03/2023, 4:00 PMsaghosh
10/03/2023, 4:42 PMraymondcamden
10/03/2023, 5:20 PMJim Priest
10/09/2023, 1:27 PMcf_sql_
prefix."
https://cfdocs.org/cfqueryparammtbrown
02/16/2024, 12:26 PMquerySort
returns "True if the sort is successful." But it was changed to return the sorted query since ColdFusion 2018.bockensm
02/29/2024, 4:33 PMisLeapYear
docs say to pass a number, but the example passes a date: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/isleapyear.html. Can the example be updated to show a proper use of the method?saghosh
03/05/2024, 2:10 PMsaghosh
03/05/2024, 3:26 PMrodel30
03/05/2024, 5:34 PMApplication
this.sessionTimeout
, the documentation says "Specify application properties by setting This scope variables in the Application.cfc initialization code.", but I was wanting to know if it's allowed (I could try it out and see if it works, but if it's not specifically "allowed" then it could potentially stop working with any future update) for us to set the this.sessionTimeout
within the onApplicationStart
instead (or override it there)? We have the same Application.cfc
for multiple applications, and want to be able to dynamically set the session timeout per application. Either way, it would be nice if the documentation clarified this. Either by saying "Application properties may only be specified by setting This scope variables in the Application.cfc initialization code" (eliminating any ambiguity about whether it can be set later) or adding a note about what other points in execution are acceptable for altering/setting the value.mtbrown
03/06/2024, 12:01 AMtype
to every element in an array.Adam Cameron
cfthread
handles variables could be improved? See here: https://stackoverflow.com/a/78145761/894061
I do kinda agree that the docs are such that one already needs to know what they mean to be able to understand them.raymondcamden
04/01/2024, 8:19 PMMark Takata (Adobe)
04/09/2024, 10:03 PMgavinbaumanis
04/10/2024, 7:21 AMJim Priest
04/16/2024, 7:07 PM