This commit is contained in:
thinkphp
2018-04-12 16:33:02 +08:00
parent ae442796eb
commit 7fed9cf033

View File

@@ -56,9 +56,8 @@ class Sqlsrv extends Builder
$array[] = $this->parseKey($key, $options, true) . ' ' . $sort;
}
}
$order = implode(',', $array);
return ' ORDER BY ' . $order;
return ' ORDER BY ' . implode(',', $array);
}
/**