Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/DBIx-Class-0.08008/lib/DBIx/Class/ResultClass/HashRefInflator.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/DBIx-Class-0.08008/lib/DBIx/Class/ResultClass/HashRefInflator.pm


NAME

DBIx::Class::ResultClass::HashRefInflator


SYNOPSIS


 my $rs = $schema->resultset('CD');

 $rs->result_class('DBIx::Class::ResultClass::HashRefInflator');


DESCRIPTION

DBIx::Class is not built for speed: it's built for convenience and ease of use. But sometimes you just need to get the data, and skip the fancy objects. That is what this class provides.

There are two ways of using this class.

  • Specify $rs->result_class on a specific resultset to affect only that resultset (and any chained off of it); or

  • Specify __PACKAGE__->result_class on your source object to force all uses of that result source to be inflated to hash-refs - this approach is not recommended.


METHODS

inflate_result

Inflates the result and prefetched data into a hash-ref using the mk_hash manpage.

mk_hash

This does all the work of inflating the (pre)fetched data.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy