Hi.

> I've checked in a change in the DBIx-Class-current branch in the
> repository that may resolve the issue for you. Please let me know.

I tried DBIx-Class-current branch.
However, there was no change.

The attribute is not found in bar method.

The library that I wrote is for your information appended.
One is a library made from the sample.

The sample script is such:

package DBIC::Schema::Test;
use strict;
__PACKAGE__->load_components(qw/MD5Columns DigestColumns
PK::Auto::SQLite Core/);
....
__PACKAGE__->md5_columns(qw/name/);
__PACKAGE__->digest_columns(qw/name/);
__PACKAGE__->set_digest_type('MD5');
1;


#! /usr/bin/perl
use strict;
use DBIC::Schema;
my $schema = DBIC::Schema->connect('dbi:SQLite:.....');
my $n = $schema->resultset('Test');
my $it;
$it = $n->md5_search({id => 1})->first; # ok

$it = $n->digest_search({id => 1})->first; # not ok


Thanks!

 atsushi

Attachment: DigestColumns.pm
Description: Binary data

Attachment: MD5Columns.pm
Description: Binary data

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/

Reply via email to