On Fri, Apr 13, 2007 at 07:40:04PM -0700, Bill Moseley wrote:
> This is still the current situation?:
> 
>     http://www.dev411.com/blog/2006/05/31/rose-db-object-aggregates
> 
> i.e. Run you own SQL directly with DBI or use Views and a create a
> table (and manager) class for each one?


Perhaps use get_objects_from_sql and add extra methods to the table
(or even base) class?

   From get_objects_from_sql

   Each column returned by the SQL query must be either a column or
   method name in "object_class".  Column names take precedence in the
   case of a conflict.

Maybe pick a few generic names

use Rose::Object::MakeMethods::Generic (
    scalar => [ qw/  count total average temp_column / ],
);



-- 
Bill Moseley
[EMAIL PROTECTED]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to