projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Stop stripping table name qualifier on complex $rs->update/delete
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Manual
/
Intro.pod
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.