Rechercher une page de manuel
DBIx::Class::ResultSourceHandle.3pm
Langue: en
Version: 2010-05-12 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
DBIx::Class::ResultSourceHandle - Decouple Rows/ResultSets objects from their Source objectsDESCRIPTION
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 objectSTORABLE_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.AUTHOR
Ash Berlin "<ash@cpan.org>"Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre