How to limit cfdump size for objects

Is it possible to limit the size of cfdump when deleting an ORM object? It seems that cfdump will try to load and display ALL objects related / related (as defined in a many-to-one or one-to-many relationship), which is reset. Sometimes a reset of one object can lead to an output of more than 100 mb (these are megabytes).

+4
source share
1 answer

According to the documentation , it looks like you are looking for a parameter top.

<cfdump  
    var = "#variable#" 
    output = "browser|console|file" 
    format = "text|html" 
    abort = "true|false"> 
    label = "text" 
    metainfo = "yes|no" 
    top = "number of rows|number of levels" 
    show = "columns|keys" 
    hide = "columns|keys" 
    keys = "number of keys to display for structures" 
    expand = "yes|no"  
    showUDFs = "yes|no">

top Optional 9999 Number of rows to display. For a structure, this is the number of levels displayed.

, CFM, keys

9999 .

+2

Source: https://habr.com/ru/post/1682088/


All Articles