Open roma293 opened 4 years ago
The problem in https://github.com/FriendsOfDoctrine/dbal-clickhouse/blob/master/src/ClickHouseStatement.php#L293
When the loop replacing ?
to string with ?
on the next iteration first found symbol ?
will be replaced
P.S. @roma293 thank you for solution!
php v7.4 friendsofdoctrine/dbal-clickhouse v1.5.3 clickhouse-server: yandex/clickhouse-server:20.3.8.53 (image from official yandex hub.docker.com)
Table schema:
Code example:
Result:
If change code to:
Result: insert is successful