Re: [Dbix-class] Newbie question

2009-03-16 Thread Jess Robinson
On Sun, 15 Mar 2009, Andreas Mock wrote: Hi all, I digged around the provided manuals for DBIC, but there is one (besides others of course ;-) ) things I don't understand at the moment: Where is the mapping done/declared between the attributes of a business object and the attributes of the

Re: [Dbix-class] Newbie question

2009-03-16 Thread Andreas Mock
-Ursprüngliche Nachricht- Von: Jess Robinson casta...@desert-island.me.uk Gesendet: 16.03.09 11:13:14 An: DBIx::Class user and developer list dbix-class@lists.scsys.co.uk Betreff: Re: [Dbix-class] Newbie question Hi Jess, thank you for answering. Business object? Care to explain

[Dbix-class] Newbie question

2009-03-16 Thread ivan
I wish to realise SQL in DBIx syntax: select * from table1 left join ( select * from table2 where date = 'mydate' ) as F ON ( table1.id = F.table1_id ); Is it possible ? ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC:

RE: [Dbix-class] Newbie question

2009-03-16 Thread Scott Pham (scpham)
-Original Message- From: ivan [mailto:i...@price.ru] Sent: Monday, March 16, 2009 9:39 AM To: DBIx::Class user and developer list Subject: [Dbix-class] Newbie question I wish to realise SQL in DBIx syntax: select * from table1 left join ( select * from table2 where date

Re: [Dbix-class] Newbie question

2009-03-16 Thread David Ihnen
ivan wrote: I wish to realise SQL in DBIx syntax: select * from table1 left join ( select * from table2 where date = 'mydate' ) as F ON ( table1.id = F.table1_id ); Is it possible ? package DB::Schema::table1; __PACKAGE__-load_components(qw/core/); __PACKAGE__-table('table1');

[Dbix-class] Newbie question

2009-03-15 Thread Andreas Mock
Hi all, I digged around the provided manuals for DBIC, but there is one (besides others of course ;-) ) things I don't understand at the moment: Where is the mapping done/declared between the attributes of a business object and the attributes of the row object returned by a ResultSet? Which