Skip to content

Commit 905c051

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Update doctrine fetchAll deprecated
2 parents 03c0ab9 + f803d1e commit 905c051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ In addition, you can query directly with SQL if you need to::
808808
$stmt->execute(['price' => $price]);
809809

810810
// returns an array of arrays (i.e. a raw data set)
811-
return $stmt->fetchAll();
811+
return $stmt->fetchAllAssociative();
812812
}
813813

814814
With SQL, you will get back raw data, not objects (unless you use the `NativeQuery`_

0 commit comments

Comments
 (0)