projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
294c1f5
)
fix broken syntax
Justin Hunter [Fri, 15 Jun 2012 19:34:19 +0000 (15:34 -0400)]
lib/DBIx/Class/Manual/Intro.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Manual/Intro.pod
b/lib/DBIx/Class/Manual/Intro.pod
index
1d305a7
..
eebc98c
100644
(file)
--- a/
lib/DBIx/Class/Manual/Intro.pod
+++ b/
lib/DBIx/Class/Manual/Intro.pod
@@
-397,7
+397,7
@@
attributes:
my @albums = My::Schema->resultset('Album')->search(
{ artist => 'Bob Marley' },
- { rows => 2, order_by => 'year DESC' }
+ { rows => 2, order_by => { -desc => 'year' } }
);
C<@albums> then holds the two most recent Bob Marley albums.