Replace doctrine's deprecated fetchAll() with the new methods #260
Closed
Description
Feature Request
Replace doctrine's deprecated fetchAll() with the new methods.
Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
Diff
$result = $this->connection
->executeQuery($sql)
- ->fetchAll(\PDO::FETCH_COLUMN);
+ ->fetchFirstColumn();
$result = $qb->execute()
- ->fetchAll(\PDO::FETCH_ASSOC);
+ ->fetchAllAssociative();
$result = $this->connection
->executeQuery($sql)
- ->fetchColumn();
+ ->fetchOne();
Metadata
Assignees
Labels
No labels