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