NAME

DBIx::Class::ResultSourceHandle - Decouple Rows/ResultSets objects from their Source objects

DESCRIPTION

This module removes fixed link between Rows/ResultSets and the actual source objects, which gets round the following problems

  • Needing to keep $schema in scope, since any objects/result_sets will have a $schema object through their source handle

  • Large output when using Data::Dump(er) since this class can be set to stringify to almost nothing

  • Closer to being able to do a Serialize::Storable that doesn't require class-based connections

METHODS

new

resolve

Resolve the moniker into the actual ResultSource object

STORABLE_freeze

Freezes a handle.

STORABLE_thaw

Thaws frozen handle. Resets the internal schema reference to the package variable $thaw_schema. The recommended way of setting this is to use $schema->thaw($ice) which handles this for you.

AUTHOR

Ash Berlin <ash@cpan.org>