George Hartzell wrote: > Matt S Trout writes: > > [...] > > But wouldn't it be better to make search_related check the prefetch attr > and > > copy the appropriate stuff from the cache instead? > > Would that also work on things fetched through has_many relationships? > > That'd be great!
Eh? The problem we're discussing here is how to make it work for many-many the same way it does for has_many. Or are you wanting has_manys to work with prefetch in some extra way? _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
