Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #46

  • Loading branch information...
commit c399cbd46c00a9bc20bc37fb5cae38c1d9a216b2 1 parent cb91887
@thadclay thadclay authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  lib/adapters/mysql/statements.js
View
3  lib/adapters/mysql/statements.js
@@ -202,9 +202,6 @@ var buildOrderClause = function(opts) {
var orderFields = _(opts.order).chain()
.map(function(orderField) {
var direction = orderField[0] === '-' ? "DESC" : "ASC";
- //var orderField = orderField[0] === '-' ?
- // utils.doubleQuote(orderField.substring(1, orderField.length)) :
- // utils.doubleQuote(orderField);
var orderField = orderField[0] === '-' ?
utils.backtick(orderField.substring(1, orderField.length)) :
utils.backtick(orderField);
Please sign in to comment.
Something went wrong with that request. Please try again.