Skip to content

Commit

Permalink
fix: dont expand query on regular named arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Nov 14, 2024
1 parent dd4601c commit ef1dafb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -1950,10 +1950,6 @@ private function expandArrayParameters(string $sql, array $params, array $types)
*/
private function needsArrayParameterConversion(array $params, array $types): bool
{
if (is_string(key($params))) {
return true;
}

foreach ($types as $type) {
if (
$type === ArrayParameterType::INTEGER
Expand Down

0 comments on commit ef1dafb

Please sign in to comment.