On Tue, Jan 03, 2006 at 12:35:30PM +1100, Kim Ryan wrote: > Thanks, I agree creation of an id column is the best way to go, and it > actually > simplifies the table definitions. Will use this approach.
It's how I pretty much always ended up doing things with Class::DBI; it papers neatly over a major wart and never caused me any major problems. Class::DBI and Maypole *should* handle views just fine, although the Loader almost certainly won't pick it up so you'll have to define the class yourself. And of course there's also Class::DBI::View, which is a little evil but also works well enough. -- Matt S Trout Offering custom development, consultancy and support Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ + ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Maypole-users mailing list Maypole-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/maypole-users