From: Dagfinn Ilmari Mannsåker Date: Wed, 1 Mar 2017 12:22:46 +0000 (+0000) Subject: Align clauses of complex ORDER BY example for readability X-Git-Tag: v1.82~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bd805d8577ae84ee761522c88ff0f5ddeb42619b;p=dbsrgits%2FSQL-Abstract.git Align clauses of complex ORDER BY example for readability --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 596c589..e03d341 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -2928,13 +2928,13 @@ forms. Examples: \[ 'FUNC(colA, ?)', $x ] | ORDER BY FUNC(colA, ?) | /* ...with $x bound to ? */ | - [ | - { -asc => 'colA' }, | ORDER BY colA ASC, colB DESC, - { -desc => [qw/colB/] }, | colC ASC, colD ASC, - { -asc => [qw/colC colD/] },| colE DESC, FUNC(colF, ?) - \'colE DESC', | /* ...with $x bound to ? */ - \[ 'FUNC(colF, ?)', $x ], | - ] | + [ | ORDER BY + { -asc => 'colA' }, | colA ASC, + { -desc => [qw/colB/] }, | colB DESC, + { -asc => [qw/colC colD/] },| colC ASC, colD ASC, + \'colE DESC', | colE DESC, + \[ 'FUNC(colF, ?)', $x ], | FUNC(colF, ?) + ] | /* ...with $x bound to ? */ ===============================================================