[Dbix-class] how to add a method that performs a database lookup?
Adam Witney
awitney at sgul.ac.uk
Tue Dec 16 13:43:27 GMT 2008
>>
>
> Enter HashRefInflator, designed by chance for this exact purpose:
>
> http://search.cpan.org/~ash/DBIx-Class-0.08010/lib/DBIx/Class/Manual/Cookbook.pod#Skip_object_creation_for_faster_results
thanks for the link. But can HashRefInflator be used with a 'search'
instead of a 'find' method? (I tried and it seemed to return
different results). I need to pull the data out by a non-primary and
non-unique field.
thanks
adam
More information about the DBIx-Class
mailing list