Re: [Maypole] Re: Maypole responding to requests very slowly (or, how to get just one associated record instead of getting the world)

From: Tony Bowden (tony-maypole at kasei.com)
Date: Fri Oct 01 2004 - 11:59:52 BST


On Fri, Oct 01, 2004 at 09:55:26AM +0100, Aaron Trevena wrote:
> I would really like to get hasMany relationships pulled as simple 2d
> arrays of id and name.

It should be fairly easy to write a Class::DBI plugin which examines the
meta_info() for a class, and constructs methods for each has_many() that
executes the correct SQL to get this...

Tony

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT