1 package # hide from PAUSE
2 DBIx::Class::CDBICompat::Constructor;
4 use base qw(DBIx::Class::CDBICompat::ImaDBI);
11 __PACKAGE__->set_sql(Retrieve => <<'');
17 my ($class, $method, $fragment) = @_;
18 return croak("constructors needs a name") unless $method;
21 my $meth = "$class\::$method";
22 return carp("$method already exists in $class")
27 $self->sth_to_objects($self->sql_Retrieve($fragment), \@_);