Bragi Docs Help

OutputToConsole

Prints selected columns from a DataTable to the console.

Prints selected columns from a DataTable to the console. Useful for debugging tables with large text fields (e.g. varchar(max)), allowing you to focus on specific columns instead of outputting the entire dataset.

BragiUtils.OutputToConsole(result, ["Site", "SiteId", "Name", "Market", "MarketType", "Status", "PriceRaw"]);

Parameters

  • result: The DataTable or enumerable result set to output.

  • columns: A list of column names to display in the console output.

Examples

The below example prints a subset of columns from a query result, avoiding large text or blob fields.

// Print selected columns to console for quick inspection BragiUtils.OutputToConsole(result, ["Site", "SiteId", "Name", "Market", "MarketType", "Status", "PriceRaw"]);"
09 March 2026