On Tue, Jan 22, 2013 at 11:23:42AM -0300, Paula wrote:
> I tried this, and in this case I get:
> 
> [error] DBIx::Class::Row::get_column(): No such column 'h1'
> 
> so in this case it is not executing prefetch

You are missing something simple, yet non-obvious. Please supply the 
*entire* search() call, and the *entire* definition of the Result clases 
involved (the stuff that has ->table, ->add_columns, etc).

Then we will be able to precisely explain where your expectations do not 
meet with the reality of how DBIC operates (and perhaps you will even 
help us fix the docs to make it clearer).

Cheers

_______________________________________________
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

Reply via email to