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 ef409bb commit f39dd7dCopy full SHA for f39dd7d
src/Storage/FluentAdapter.php
@@ -49,10 +49,6 @@ public function setConnectionName($connectionName)
49
50
protected function getConnection()
51
{
52
- $conn = $this->resolver->connection($this->connectionName);
53
- // maybe others have the database config for fetch mode to PDO::FETCH_ASSOC
54
- // u'd better force it back here, or all your data fetching result will be unusable.
55
- $conn->setFetchMode(\PDO::FETCH_OBJ);
56
- return $conn;
+ return $this->resolver->connection($this->connectionName);
57
}
58
0 commit comments