DBIx::Class::ResultSourceHandle(3pm)

DBIx::Class::ResultSourceHandle3pm

Serializable pointers to resultsource instances

Overview

Currently instances of this class are used to allow proper serialization of ResultSources (which may contain unserializable elements like "CODE" references).

Originally this module was used to remove the fixed link between Rows/ResultSets and the actual result source objects in order to obviate the need of keeping a schema instance constantly in scope, while at the same time avoiding leaks due to circular dependencies. This is however no longer needed after introduction of a proper mutual-assured-destruction contract between a "Schema" instance and its "ResultSource" registrants.

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.

Further questions?

Check the list of additional DBIC resources.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 7 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10–11
  7. 12
  8. 13

From libdbix-class-perl 0.082844-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.