jeremiahx|com J.J. Merrick on Facebook jeremiahx on Twitter

ColdFusion 8: CFDump Enhancements

As we all know CFDump is probably the coolest and the most used tag in development. To be able to dump anything and everything in a nice concise format is worth it’s weight in gold. I have gone ahead and installed CF8 beta on my laptop and have been using it for everyday development. Mainly this is just to make sure that everything we have is compatiable with CF8 so when it is released we can deploy it ASAP.

So in the course of my development work I noticed that CFdump has had a few things added to it. Used to when you dumped a query it would give you a structure type display and give you just the columns and the data.

Cfdump in CF8 now does a structure dump with keys such as resultset, cached, execution time, SQL Statement used, and Parameters passed in, and in an array to boot.

CFquery dump

One of the other things that they have done is added a “show” parameter. you just do <cfdump var=”#queryname#” show=”column1, column2″>.

CFquery dump show

You can also in the same vain hide columns from a query.

<cfdump var=”#queryname#” hide=”column1, column2″>

CFquery dump hide

As you can see it also tells you that it is filtered so that is always good.

All in all it looks like CF8 is going to be an awesome release and it has been fun really digging in and seeing all the fun things they have in store for us.

Leave a Comment