Not a developer? Go to MovableType.com

Documentation

Getting the count of a number of objects

To determine how many objects meeting a particular set of conditions exist, use the count method:

my $count = MT::Foo->count({ foo => 'bar' });

count takes the same arguments as load and load_iter.

Back

Leave a Comment