fix aggregate selecting bug.
This commit is contained in:
@@ -44,6 +44,8 @@ class SQLServer extends Grammar {
|
||||
*/
|
||||
protected function selects(Query $query)
|
||||
{
|
||||
if ( ! is_null($query->aggregate)) return;
|
||||
|
||||
$select = ($query->distinct) ? 'SELECT DISTINCT ' : 'SELECT ';
|
||||
|
||||
// Instead of using a "LIMIT" keyword, SQL Server uses the "TOP"
|
||||
|
||||
Reference in New Issue
Block a user