Rechercher une page de manuel
DBIx::Class::ResultSourceHandle.3pm
Langue: en
Version: 2009-02-10 (fedora - 06/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
DBIx::Class::ResultSourceHandleDESCRIPTION
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>"Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre