Hi,
I'm getting strange behavior with the following ResultSet class:
<cut>
package Test::Schema::ResultSet::User;
use strict;
use base 'DBIx::Class::ResultSet';
use Params::Validate qw/:all/;
sub touch {
validate_pos( @_, { isa => __PACKAGE__ } );
}
1
</cut>
With this resultset class calling touch() issues 'SELECT COUNT( * ) FROM
User me:'
> Test::Schema->connect( 'dbi:SQLite:dbname=:memory:' )->resultset(
'User' )->touch;
What i'm doing wrong?
DBIC version 0.08120
Params::Validate version 0.95
thnx!
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]