ColdFusion 8: Dumping a Query in ColdFusion 8

So a small change - but a nice one. If you dump a query in ColdFusion 8, you now get a set of additional information along with the data. You get…

  • Whether or not the query was cached
  • The execution time
  • And best of all - the SQL!
  • Lastly - if your SQL contained any cfqueryparam tags, there will be a SQLParameters key that is an array of the values used in the cfqueryparam tags. </ul> Edited to add last bullet point.

    Download attached file.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Comments