portal entry

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

Converting an array of structs to a query dynamically

| View in Portal
July 12, 2019 04:57:25 PM GMT
4 Comments
<p>An exercise in converting an array of structs to a query dynamically so you can dump out the data in a compact form</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2019/07/converting-array-structs-query-dynamically/">Converting an array of structs to a query dynamically</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: Blog, ColdFusion, Modern CFML, 2018, blog, modern cfml

Comments:

Simple and elegant.  Great use of arrayReduce().
Comment by David Byers
2167 | July 18, 2019 03:41:57 AM GMT
<p>Yes, very nice. Thanks, John (aka poor yorik. “Alas”, I wonder how many get the quip in your “alias”!)</p><p>About the code, I hope you'll submit it to the cflib site (cflib.org). Folks do still search there for possible CFML solutions to problems. </p><p>You’ll see a link there for submitting content, and indeed it’s now hosted on github (so submissions are by PR to that now). Ray is still the project owner, and though there are a couple of PRs outstanding from 2017, it’s worth a shot to see if it would get posted.</p><p>Thanks of course for the cffiddle.org link, in the meantime.</p>
Comment by Charlie Arehart
2168 | July 18, 2019 02:28:11 PM GMT
Hi Charlie, Happy to add it to cflib - looks like it's a Jekyll site now so will have to find some time to figure that out!
Comment by aliaspooryorik
2172 | July 20, 2019 09:10:40 AM GMT
Very nice thinking outside the box! This will be handy, thanks! :)<span></span>
Comment by Aaron Neff
2176 | July 21, 2019 09:52:22 AM GMT