Hi there,
Im using some crusty template engine, the only one
installed on my target machine which means I need to
send all data to the engine in a hashref format only -
I can't call object methods.  

I've got a table which has quite a few relationships
defined on it.  If I do this:

my $db_obj = $original_table->find('KEY');

I can do this:

my %cols = $db_obj->get_columns();

But I can't seem to do this:

my %related_cols =
$db_obj->has_many_relationship()->get_columns();


Is it possible to pull all data from a related table
like this ?  If so,please please tell me - am so
stuck.
big big thanks for anything,
>joss


        
        
                
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

_______________________________________________
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/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to