[Bast-commits] r7053 - DBIx-Class/0.08/trunk/lib/DBIx/Class

ijw at dev.catalyst.perl.org ijw at dev.catalyst.perl.org
Wed Jul 15 16:55:36 GMT 2009


Author: ijw
Date: 2009-07-15 16:55:35 +0000 (Wed, 15 Jul 2009)
New Revision: 7053

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
Log:
Added SQLA link for more comprehensive documentation of order_by options available

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm	2009-07-14 23:39:02 UTC (rev 7052)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm	2009-07-15 16:55:35 UTC (rev 7053)
@@ -3090,11 +3090,16 @@
 
 =back
 
-Which column(s) to order the results by. If a single column name, or
-an arrayref of names is supplied, the argument is passed through
-directly to SQL. The hashref syntax allows for connection-agnostic
-specification of ordering direction:
+Which column(s) to order the results by. 
 
+[The full list of suitable values is documented in
+L<SQL::Abstract/"ORDER BY CLAUSES">; the following is a summary of
+common options.]
+
+If a single column name, or an arrayref of names is supplied, the
+argument is passed through directly to SQL. The hashref syntax allows
+for connection-agnostic specification of ordering direction:
+
  For descending order:
 
   order_by => { -desc => [qw/col1 col2 col3/] }




More information about the Bast-commits mailing list