Is this a bug, or a necessary behavior? Or is there another way I should be 
doing a prefetch with +select?

$row = $rs->search({}, {
    '+select' => \'lower(something)',
    'prefetch' => "relationship",
})->first;

$row->relationship->first_column; # has the value of 'lower(something)'.

That is to say, every field in the "relationship" is shifted over by the 
+select.

Any insight would be appreciated.
Thanks,
- mark
_______________________________________________
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/[email protected]

Reply via email to