DBIx::Class::ResultSourceHandle.3pm

Langue: en

Version: 2008-06-16 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

DBIx::Class::ResultSourceHandle - remove link between Rows/ResultSets and 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 recomened way of setting this is to use "$schema-"thaw($ice)> which handles this for you.

AUTHOR

Ash Berlin "<ash@cpan.org>"