projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f077b8f
)
examples should be correct
Peter Rabbitson [Mon, 17 Aug 2009 10:37:14 +0000 (10:37 +0000)]
lib/DBIx/Class/Manual/Cookbook.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Manual/Cookbook.pod
b/lib/DBIx/Class/Manual/Cookbook.pod
index
7561248
..
51a8a33
100644
(file)
--- a/
lib/DBIx/Class/Manual/Cookbook.pod
+++ b/
lib/DBIx/Class/Manual/Cookbook.pod
@@
-209,8
+209,8
@@
generated SQL via the C<-as> field attribute as follows:
{
join => 'cds',
distinct => 1,
- +select => [ { count => 'cds.cdid', -as => 'amount_of_cds' } ],
- +as => [qw/num_cds/],
+ '+select' => [ { count => 'cds.cdid', -as => 'amount_of_cds' } ],
+ '+as' => [qw/num_cds/],
order_by => { -desc => 'amount_of_cds' },
}
);