1DBIx::Class::ResultSourUcseeHranCdolnet(r3i)buted Perl DDoBcIuxm:e:nCtlaatsiso:n:ResultSourceHandle(3)
2
3
4

NAME

6       DBIx::Class::ResultSourceHandle - Serializable pointers to ResultSource
7       instances
8

DESCRIPTION

10       Currently instances of this class are used to allow proper
11       serialization of ResultSources (which may contain unserializable
12       elements like "CODE" references).
13
14       Originally this module was used to remove the fixed link between
15       Rows/ResultSets and the actual result source objects in order to
16       obviate the need of keeping a schema instance constantly in scope,
17       while at the same time avoiding leaks due to circular dependencies.
18       This is however no longer needed after introduction of a proper mutual-
19       assured-destruction contract between a "Schema" instance and its
20       "ResultSource" registrants.
21

METHODS

23   new
24   resolve
25       Resolve the moniker into the actual ResultSource object
26
27   STORABLE_freeze
28       Freezes a handle.
29
30   STORABLE_thaw
31       Thaws frozen handle. Resets the internal schema reference to the
32       package variable $thaw_schema. The recommended way of setting this is
33       to use "$schema->thaw($ice)" which handles this for you.
34

FURTHER QUESTIONS?

36       Check the list of additional DBIC resources.
37
39       This module is free software copyright by the DBIx::Class (DBIC)
40       authors. You can redistribute it and/or modify it under the same terms
41       as the DBIx::Class library.
42
43
44
45perl v5.36.0                      2023-01-20DBIx::Class::ResultSourceHandle(3)
Impressum