Completed
Branch feature/pre-split (fc3374)
by Anton
02:58
created
source/Spiral/Database/Drivers/SQLServer/SQLServerCompiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
source/Spiral/Database/Drivers/SQLite/SQLiteCompiler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.