Aaron Trevena wrote: > This sounds like the problem that this recipe in the cookbook tries to > solve : > http://search.cpan.org/~getty/DBIx-Class-0.08204/lib/DBIx/Class/Manual/Cookbook.pod#Dynamic_Sub-classing_DBIx::Class_proxy_classes
Hi Aaron, Thanks for taking a look. It's a similar problem but I don't think it's quite the same. I discovered that the prototype code I posted worked pretty much straight away, so I've just implemented a method like that in each class. All the squirly little differences between the individual tables make it difficult for me to think there's going to be a general solution, so I've moved on to other things. > This is something I'm looking at myself (search results spanning > tables via a big union ( DBIx::Class::Helpers has a helper for that > too btw) > > I might not fully understand what you're doing, hopefully that's some help > tho. Yeah, the big union is a very useful feature for my situation. I'm glad I discovered it on this list ages ago :) Cheers, Dave _______________________________________________ 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/dbix-class@lists.scsys.co.uk