portal entry

select a category, or use search below
(searches all categories and all time range)

Member Functions introduced in ColdFusion (2018 release)

| View in Portal
July 12, 2018 09:01:05 AM GMT
<p>In the 2018 release of ColdFusion, we have introduced new Built-In Functions(BIF) to manipulate different objects using a single line invocation. Query Functions QueryDeleteRow( Object query, int rowNum ) QueryDeleteColumn( Object query, String columnName) Arrays Functions ArrayFirst(List list) ArrayLast(List list) XML Functions XmlIsEmpty( XmlNodeList xmlNodeList ) XmlCount( XmlNodeList xml ) XmlAppend( XmlNodeList xml1, XmlNodeList xml2 ) XmlUpdate( XmlNodeList xml, String key, Object value ) XmlKeyList( XmlNodeList xml ) XmlKeyArray( XmlNodeList xml ) Async Functions RunAsync() RunAsync(UDFMethod method) RunAsync(UDFMethod method, long […]</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2018/07/member-functions-coldfusion-2018/">Member Functions introduced in ColdFusion (2018 release)</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: Blog, CF2018 Updates, ColdFusion 2018, 2018, BIF, blog, cf2018 updates, CFML, chaining, coldfusion 2018, functions, member function


Hi Ashudeep, Very nice post! Couple comments: 1) format() is, thankfully, just a member function (not BIF) 2) precisionEvaluate() is also a numeric member function (useful for converting to java.math.BigDecimal) Ex: myVar1 = 10; myVar2 = myVar1.precisionEvaluate();//converts to java.math.BigDecimal (good!) writeOutput(myVar1.getClass().getName() & ' ' & myVar2.getClass().getName()); Outputs "java.lang.Integer java.math.BigDecimal" Sweet!! Thanks Adobe!! ..now for CF to internally use BigDecimal to reduce floating point math issues/tickets =) Thanks!, -Aaron
Comment by Aaron Neff
1204 | July 31, 2018 07:48:12 AM GMT
Thanks Aaron for the feedback, i have corrected it in the blog post.
Comment by ashuspeed
1207 | August 02, 2018 09:06:57 AM GMT
Two function names contain character x followed by an opening bracket. This is presented as a smiley on this page X(
Comment by Bernhard Döbler
1279 | October 10, 2018 10:19:44 AM GMT
<p>Yeah, it was conflicting with the smileys, i have corrected that. Thanks for reporting.</p>
Comment by ashuspeed
1312 | October 29, 2018 06:28:39 AM GMT
I like that some of the examples have semicolon and some don't. That was a good new feature too.
Comment by James Mohler
1315 | October 29, 2018 03:42:53 PM GMT
<!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--><span><a href="https://www.mhrwriter.co.uk/" rel="nofollow">MHRWriter</a> relational database and will show how to run it on top of Apache Ignite with minimum efforts.</span>
Comment by saeedk41391076
2027 | April 29, 2019 06:01:36 AM GMT
Wonderful information shared about ColdFusion, will it work for <a href="https://loudblogging.com" rel="nofollow">loudblogging.com</a>? please share your feedback as well.
Comment by farhana35937614
2259 | August 19, 2019 09:12:17 PM GMT