@@ -137,7 +137,7 @@ |
||
| 137 | 137 | $offset = $offset + 1; |
| 138 | 138 | |
| 139 | 139 | if (!empty($limit)) { |
| 140 | - $statement .= "BETWEEN {$offset} AND " . ($offset + $limit - 1); |
|
| 140 | + $statement .= "BETWEEN {$offset} AND ".($offset + $limit - 1); |
|
| 141 | 141 | } else { |
| 142 | 142 | $statement .= ">= {$offset}"; |
| 143 | 143 | } |
@@ -38,9 +38,9 @@ discard block |
||
| 38 | 38 | $selectColumns[] = "? AS {$this->quote($column)}"; |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - $statement[] = 'SELECT ' . implode(', ', $selectColumns); |
|
| 41 | + $statement[] = 'SELECT '.implode(', ', $selectColumns); |
|
| 42 | 42 | } else { |
| 43 | - $statement[] = 'UNION ALL SELECT ' . trim(str_repeat('?, ', count($columns)), ', '); |
|
| 43 | + $statement[] = 'UNION ALL SELECT '.trim(str_repeat('?, ', count($columns)), ', '); |
|
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $statement = ''; |
| 62 | 62 | |
| 63 | 63 | if (!empty($limit) || !empty($offset)) { |
| 64 | - $statement = 'LIMIT ' . ($limit ?: '-1') . ' '; |
|
| 64 | + $statement = 'LIMIT '.($limit ?: '-1').' '; |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | if (!empty($offset)) { |