[Catalyst-commits] r9528 -
Catalyst-Controller-DBIC-API/1.001/trunk/lib/Catalyst/Controller/DBIC
lukes at dev.catalyst.perl.org
lukes at dev.catalyst.perl.org
Wed Mar 18 21:05:19 GMT 2009
Author: lukes
Date: 2009-03-18 21:05:19 +0000 (Wed, 18 Mar 2009)
New Revision: 9528
Modified:
Catalyst-Controller-DBIC-API/1.001/trunk/lib/Catalyst/Controller/DBIC/API.pm
Log:
incremented version and extended synopsis
Modified: Catalyst-Controller-DBIC-API/1.001/trunk/lib/Catalyst/Controller/DBIC/API.pm
===================================================================
--- Catalyst-Controller-DBIC-API/1.001/trunk/lib/Catalyst/Controller/DBIC/API.pm 2009-03-18 20:59:27 UTC (rev 9527)
+++ Catalyst-Controller-DBIC-API/1.001/trunk/lib/Catalyst/Controller/DBIC/API.pm 2009-03-18 21:05:19 UTC (rev 9528)
@@ -5,11 +5,11 @@
=head1 VERSION
-Version 1.000001
+Version 1.002000
=cut
-our $VERSION = '1.001000';
+our $VERSION = '1.002000';
=head1 NAME
@@ -25,7 +25,11 @@
class => 'MyAppDB::Artist', # DBIC schema class
create_requires => ['name', 'age'], # columns required to create
create_allows => ['nickname'], # additional non-required columns that create allows
- update_allows => ['name', 'age', 'nickname'] # columns that update allows
+ update_allows => ['name', 'age', 'nickname'], # columns that update allows
+ update_allows => ['name', 'age', 'nickname'], # columns that update allows
+ list_returns => [qw/name age/], # columns that list returns
+ list_ordered_by => [qw/age/], # order of generated list
+ list_search_exposes => [qw/age nickname/, { cd => [qw/title year/] }], # columns that can be searched on via list
);
# Provides the following functional endpoints:
More information about the Catalyst-commits
mailing list