Handel
view release on metacpan or search on metacpan
lib/Handel/Manual/Intro.pod view on Meta::CPAN
747576777879808182838485868788899091929394
...
1;
The first
time
the database needs to be accessed, storage will create a new schema instance, and
return
the
appropriate schema result. This is roughly:
...
sub
create {
my
$class
=
shift
;
return
bless
{
result
=>
$class
-storage->create(
shift
) },
$class
;
};
...
sub
create {
my
$self
=
shift
;
my
$dbresult
=
$self
->schema_instance->resultset(
$self
->schema_source)->create(
shift
);
return
$self
->result_class->create_instance(
$dbresult
);
};
( run in 0.332 second using v1.01-cache-2.11-cpan-e5176c747c2 )