Skip to content

Commit 1ee2072

Browse files
authored
Pull offset_compatibility_mode from options
1 parent 4ca6ed0 commit 1ee2072

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Database/DB2Connection.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ protected function getDefaultQueryGrammar()
108108
$defaultGrammar->setDateFormat($this->config['date_format']);
109109
}
110110

111+
if (array_key_exists('offset_compatibility_mode', $this->config)) {
112+
$defaultGrammar->setOffsetCompatibilityMode($this->config['offset_compatibility_mode']);
113+
}
114+
111115
return $this->withTablePrefix($defaultGrammar);
112116
}
113117

0 commit comments

Comments
 (0)