Skip to content

Commit e5da377

Browse files
authored
Removed "as array" and PdoValue behaviour from bindValues function. (#134)
1 parent 7ed35a6 commit e5da377

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/DMLQueryBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Generator;
88
use JsonException;
99
use PDO;
10-
use Yiisoft\Db\Driver\PDO\PDOValue;
10+
use Yiisoft\Db\Command\Param;
1111
use Yiisoft\Db\Exception\Exception;
1212
use Yiisoft\Db\Exception\InvalidArgumentException;
1313
use Yiisoft\Db\Exception\InvalidConfigException;
@@ -398,7 +398,7 @@ private function normalizeTableRowData(string $table, QueryInterface|array $colu
398398
is_string($value)
399399
) {
400400
/** explicitly setup PDO param type for binary column */
401-
$columns[$name] = new PDOValue($value, PDO::PARAM_LOB);
401+
$columns[$name] = new Param($value, PDO::PARAM_LOB);
402402
}
403403
}
404404
}

0 commit comments

Comments
 (0)