|
@@ -139,7 +139,7 @@ discard block |
|
|
block discarded – undo |
|
139
|
139
|
// Let's add the ORDER BY if any |
|
140
|
140
|
if (isset($parsedSql['0']['ORDER'])) { |
|
141
|
141
|
$orderByBuilder = new OrderByBuilder(); |
|
142
|
|
- $processedSql .= " " . $orderByBuilder->build($parsedSql['0']['ORDER']); |
|
|
142
|
+ $processedSql .= " ".$orderByBuilder->build($parsedSql['0']['ORDER']); |
|
143
|
143
|
} |
|
144
|
144
|
|
|
145
|
145
|
return [$processedSql, $sqlCount ?? $processedSqlCount, $columnDescriptors]; |
|
@@ -250,7 +250,7 @@ discard block |
|
|
block discarded – undo |
|
250
|
250
|
$alias = AbstractQueryFactory::getColumnAlias($tableName, $columnName); |
|
251
|
251
|
$astColumn = [ |
|
252
|
252
|
'expr_type' => 'colref', |
|
253
|
|
- 'base_expr' => $connection->quoteIdentifier($tableName) . '.' . $connection->quoteIdentifier($columnName), |
|
|
253
|
+ 'base_expr' => $connection->quoteIdentifier($tableName).'.'.$connection->quoteIdentifier($columnName), |
|
254
|
254
|
'no_quotes' => [ |
|
255
|
255
|
'delim' => '.', |
|
256
|
256
|
'parts' => [ |
|
@@ -338,7 +338,7 @@ discard block |
|
|
block discarded – undo |
|
338
|
338
|
return $this->generateWrappedSqlCount($parsedSql); |
|
339
|
339
|
} |
|
340
|
340
|
|
|
341
|
|
- $countSubExpr = array_map(function (array $item) { |
|
|
341
|
+ $countSubExpr = array_map(function(array $item) { |
|
342
|
342
|
unset($item['alias']); |
|
343
|
343
|
return $item; |
|
344
|
344
|
}, $parsedSql['SELECT']); |
Please login to merge, or discard this patch.