f John
> Siracusa
> Sent: 19 September 2006 21:47
> To: Rose::DB::Object list
> Subject: Re: [RDBO] Relationships - can't locate object method
>
>
> I put the code you sent earlier into a test script and ran it. It
> appeared to work for me. I don't actual
On 9/19/06, James Masters <[EMAIL PROTECTED]> wrote:
>> Why do you need to add the "booktype" releationship in your ::Extra
>> class if it's already there immediately after the make_classes() call?
>
> The post_init_hook that grabs the "Extra" relationship info seems to be
> creating the booktype r
> Why do you need to add the "booktype" releationship in your ::Extra
> class if it's already there immediately after the make_classes() call?
The post_init_hook that grabs the "Extra" relationship info seems to be
creating the booktype relationship (I thought correctly) in metainfo. The
make_cla
I put the code you sent earlier into a test script and ran it. It
appeared to work for me. I don't actually have any db tables, but it
generated the expected SQL:
# File: test.pl
[ all those class definitions you posted earlier ]
...
local $Rose::DB::Object::Manager::Debug = 1;
On 9/19/06, James Masters <[EMAIL PROTECTED]> wrote:
> package GARD::Book::Extra;
> GARD::Book->meta->add_relationships(
> booktype => {
> type => 'many to one',
> class => 'GARD::Booktype',
> column_map => { booktypecode => 'code' }
>
Or maybe someone can help me to help myself by letting me know how I can
list all the methods for a Class?
This ought to be easy too but I can't see it in my Perl Cookbook or anywhere
else either.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of James