Enable ATTR_EMULATE_PREPARES for MariaDB specifically #132

This commit is contained in:
Nabeel Shahzad
2018-01-09 23:05:52 -06:00
parent b33838161b
commit 7e71b46e02
4 changed files with 53 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ return [
'strict' => false,
'engine' => null,
'options' => [
PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_EMULATE_PREPARES => env('DB_EMULATE_PREPARES', false),
#PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
],
],