We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 940c6ae commit aa95adbCopy full SHA for aa95adb
CHANGELOG.md
@@ -8,6 +8,9 @@
8
9
##Change Log
10
11
+###v6.11.2 - 2016-05-18
12
+ - Add CAST for Firebird #552.
13
+
14
###v6.11.1 - 2016-05-11
15
- Use Str class helper instead of strlen for better unicode support.
16
- Change method from private to protected as requested on #544.
src/Engines/QueryBuilderEngine.php
@@ -282,8 +282,7 @@ public function castColumn($column)
282
$column = $this->connection->getQueryGrammar()->wrap($column);
283
if ($this->database === 'pgsql') {
284
$column = 'CAST(' . $column . ' as TEXT)';
285
- }
286
- elseif ($this->database === 'firebird') {
+ } elseif ($this->database === 'firebird') {
287
$column = 'CAST(' . $column . ' as VARCHAR(255))';
288
}
289
0 commit comments