Skip to content

Commit 1c4d623

Browse files
committed
don't do a fetchAll, the user should CONCAT if there are multiple results
1 parent 046c602 commit 1c4d623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Builder/AlternativeLookup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function getAlternativeLookupNode(): Node
177177
var: new Node\Expr\Variable('data'),
178178
expr: new Node\Expr\MethodCall(
179179
var: new Node\Expr\Variable('stmt'),
180-
name: new Node\Identifier('fetchAll'),
180+
name: new Node\Identifier('fetch'),
181181
args: [
182182
new Node\Arg(
183183
new Node\Expr\ClassConstFetch(

0 commit comments

Comments
 (0)