NAME
Class::ReluctantORM::Monitor::ColumnCount
SYNOPSIS
use aliased 'Class::ReluctantORM::Monitor::ColumnCount';
my $mon = ColumnCounter->new(highwater_count => N, fatal_threshold => X);
Class::ReluctantORM->install_global_monitor($mon);
Pirate->install_class_monitor($mon);
# Do a query.... logging and highwater scorekeeping happens
Pirate->fetch(...);
# Read from the monitor
my $count = $mon->last_measured_value();
DESCRIPTION
Tracks the number of OutputColumns in the last query executed.
This is a Measuring Monitor.