[Dbix-class] unexpected behavior using select with inflate_result

Mitchell Elutovich melutovich at gmail.com
Fri Dec 9 09:44:28 GMT 2022


I wrote some code similar to:

my $row = $self->search_related('xyzes', {}, { select => "colABC", as =>
"colABC" }->first();

xyzes is of type XYZ

Because of the "select", I was not expecting inflate_result on XYZ to be
called, however it is.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20221209/b163051a/attachment.htm>


More information about the DBIx-Class mailing list