Merge 'trunk' into 'sqla_1.50_compat'
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSet.pm
index 7eb88f9..8f9d601 100644 (file)
@@ -2419,6 +2419,10 @@ L<DBIx::Class::Storage::DBI/connect_info>) you will need to do C<\'year DESC' >
 specify an order. (The scalar ref causes it to be passed as raw sql to the DB,
 so you will need to manually quote things as appropriate.)
 
+If your L<SQL::Abstract> version supports it (>=1.50), you can also use
+C<{-desc => 'year'}>, which takes care of the quoting for you. This is the
+recommended syntax.
+
 =head2 columns
 
 =over 4