Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DBIx::Class::ResultSouUseraContributed Perl DBIx::Class::ResultSourceHandle(3)

NAME
       DBIx::Class::ResultSourceHandle - Serializable pointers to ResultSource
       instances

DESCRIPTION
       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.

COPYRIGHT AND LICENSE
       This module is free software copyright by the DBIx::Class (DBIC)
       authors.	You can	redistribute it	and/or modify it under the same	terms
       as the DBIx::Class library.

perl v5.24.1			  2016-06-20DBIx::Class::ResultSourceHandle(3)

NAME | DESCRIPTION | METHODS | FURTHER QUESTIONS? | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DBIx::Class::ResultSourceHandle&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help