]>
Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - t/lib/DBICTest/Schema/Link.pm
1 package # hide from PAUSE
2 DBICTest
::Schema
::Link
;
4 use base
'DBIx::Class::Core';
9 __PACKAGE__-
>table('link');
10 __PACKAGE__-
>add_columns(
12 data_type
=> 'integer',
13 is_auto_increment
=> 1
16 data_type
=> 'varchar',
21 data_type
=> 'varchar',
26 __PACKAGE__-
>set_primary_key('id');
28 use overload
'""' => sub { shift-
>url }, fallback
=> 1;
30 __PACKAGE__-
>resultset_class( __PACKAGE__
. '::ResultSet');
32 package DBICTest
::Schema
::Link
::ResultSet
;
34 use base
qw( DBIx::Class::ResultSet::RecursiveUpdate );
This page took 0.03838 seconds and 4 git commands to generate.