Feb
9

Tip : Show hide columns in cfdump

Author nerdscubecom    Category Coldfusion     Tags

Small tip for the day, In Coldfusion MX7 the CFdump was pritty much dump that it just do the variable dump and nothing more.

CF8 dump is much more capable like writing the dump out to file like i did in my last blog , plus you even can control the fields that you need to show or hide during the dump. This could pretty much save time when dumping big queries which contains long columns

CF8 cfdump tag has 2 attributes called Show and Hide . You can use a comma seperated list of columns which you need to show or hide from the dump . Thus you can indicate which column of the query to be shown and which should not.

<cfdump var="#aquery#" show="colA,colB">
<cfdump var="#aquery#" hide="colX,colY">
<cfdump var="#astruct#" show="keyA,keyB">
<cfdump var="#astruct#" hide="keyX,keyY">

Post comment

Take it with you!

Twitter

Recent Posts

Categories

Tags

Adventure Android augmented Augumented avatar cf8 CF9 cfdump cfquery Coldfusion Coldfusion programming technology features new compare comparison debugging Definitions design Digitization dynamic element creation form future getmetadata HTML Inspirations Iphone Javascript Jquery movie Movies mustwatch mx7 new feature programming project Project Management Reality realtime si-fi Technology tip top tricks validation virtual world web development

Archives

RSS CF Libs

  • getComponentProps May 18, 2012
    Returns an array of all properties in cfc's metadata, inherited or not. […]
  • iniToStruct April 26, 2012
    Converts ini file(s) to a struct. […]
  • deDupeArray April 26, 2012
    Removes duplicate values from an array. […]
  • dice April 24, 2012
    Divide a string in parts of equal size with separators in between/ […]
  • getRelative April 9, 2012
    Returns a relative path from the current template to an absolute file path. […]
  • excelRate February 23, 2012
    Returns the interest rate per period of an annuity. […]
  • arrayTrim January 31, 2012
    This method trims an array to the specified number of elements. […]
  • longTime January 25, 2012
    Returns a list like 3 years, 2 months, 12 days, 1 hour, 10 minutes, 45 seconds from a seconds count argument. […]
  • quickSort January 15, 2012
    Implementation of Hoare's Quicksort algorithm for sorting arrays of arbitrary items. […]
Get Adobe Flash playerPlugin by wpburn.com wordpress themes