1 package DBIx::Class::CDBICompat::Iterator;
8 DBIx::Class::CDBICompat::Iterator
12 See DBIx::Class::CDBICompat for directions for use.
16 Emulates the extra behaviors of the Class::DBI search iterator.
18 =head2 Differences from DBIx::Class result set
20 The CDBI iterator returns true if there were any results, false otherwise. The DBIC result set always returns true.
25 sub _init_result_source_instance {
28 my $table = $class->next::method(@_);
29 $table->resultset_class("DBIx::Class::CDBICompat::Iterator::ResultSet");
36 package DBIx::Class::CDBICompat::Iterator::ResultSet;
41 use base qw(DBIx::Class::ResultSet);