On Tue, May 22, 2007 at 09:33:37AM +0200, Adam Bartosik wrote: > >I'm considering trying to port Ruby's ActiveRecord to Perl > >as a lightweight ORM option (with some small changes > >maybe, like composite PKs). If anyone's interested, toss > >me a message privately and we'll coordinate. > > What I found missing in DBIx::Class is AR method find_by_sql(sql). > We use catalyst&dbix for months (kind of data-warehouse project), but > rewriting complex, read-only SQL statements to dbix/perl notation is for > me a waste of time (when editing & updating tables with ORM is so fast > to code and intuitive).
What would that achieve that passing literal SQL chunks for SELECT, FROM, WHERE etc. wouldn't? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director Want a managed development or deployment platform? Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/ _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/