Re: Factory
[prev]
[thread]
[next]
[Date index for 2005/04/14]
Hi Will
>> my $enzyme = $rebase->retrieve('enzyme', name => 'EcoRI');
>that will only work if 'name' is your primary key, btw, but it wouldn't
>generate the error you saw.
It does work, probably because it is unique (ie 'name' could be but
isn't the primary key)
>Meanwhile, to make your code work with 0.991, you just need to get your
>factory from instance in the first place:
>
>my $rebase = Class::DBI::Factory->instance();
That worked and its working with my many2many relations and the class::dbi
subclasses all in a single file
Mucho thanks
Barry
|
Factory
Barry Dancis 16:10 on 13 Apr 2005
|