Skip Menu |

This queue is for tickets about the Dancer-Plugin-Database-Core CPAN distribution.

Report information
The Basics
Id: 102744
Status: resolved
Priority: 0/
Queue: Dancer-Plugin-Database-Core

People
Owner: Nobody in particular
Requestors: dfaber [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug in documentation
Date: Fri, 13 Mar 2015 14:37:25 +0100
To: bug-dancer-plugin-database-core [...] rt.cpan.org
From: Dirk-Jan Faber <dfaber [...] gmail.com>
Hello, I noticed a minor slip in the documentation of Dancer::Plugin::Database::Core::Handle. The docs say: { order_by => { desc => 'foo' } } # equiv to ORDER BY foo DESC { order_by => [ { desc => 'foo' }, { asc => 'bar' } ] } # above is equiv to ORDER BY foo *ASC*, bar *DESC* The last comment has the ASC and DESC the wrong way around and should be: # above is equiv to ORDER BY foo DESC, bar ASC I know it is just a minor thing, but it best to keep the documentation right. Thanks for the module and best regards, Dirk-Jan
On Fri Mar 13 09:37:55 2015, dfaber@gmail.com wrote: Show quoted text
> Hello, > > I noticed a minor slip in the documentation of > Dancer::Plugin::Database::Core::Handle. The docs say: > { order_by => { desc => 'foo' } } # equiv to ORDER > BY foo DESC > { order_by => [ { desc => 'foo' }, { asc => 'bar' } > ] } > # above is equiv to ORDER BY foo *ASC*, bar *DESC* > > The last comment has the ASC and DESC the wrong way around and should be: > # above is equiv to ORDER BY foo DESC, bar ASC > > I know it is just a minor thing, but it best to keep the documentation > right. > > Thanks for the module and best regards, > Dirk-Jan
Thank you very much. Applied in the GIT repo. Also, please, if you find any other bugs, report in our GitHub page (preferably). Sometimes these mails get lost :-) Thank you, again! Alberto