You can do this: http://search.cpan.org/~arodland/DBIx-Class-0.08196/lib/DBIx/Class/Manual/Cookbook.pod#Arbitrary_SQL_through_a_custom_ResultSource
Or I saw somewhere that you can have computed columns, I couldn't find it now. It's definitely here: http://search.cpan.org/~arodland/DBIx-Class-0.08196/lib/DBIx/Class/Manual/DocMap.pod HTH On Fri, Apr 27, 2012 at 11:46 AM, <[email protected]> wrote: > Dear All, > > Does DBIC have the capability to do something as simple as: > > select colA * colB as product from tableC > > and if so can someone give a code snippet? > > I apologize if this question is contemptible but I am just starting out! > > Scott > > > > > _______________________________________________ > List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class > IRC: irc.perl.org#dbix-class > SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ > Searchable Archive: > http://www.grokbase.com/group/[email protected] >
_______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
