As @Ocramius suggested here https://github.com/doctrine/dbal/issues/2981#issuecomment-357929302 I tried to do multiple insert with prepared statement (because writing of plain SQL is quite dangerous) and encountered with strange behavior - if text field value has question mark it would be replaced inline with next value to insert. Example:
Table structure (taken from doc with slight modification):
As @Ocramius suggested here https://github.com/doctrine/dbal/issues/2981#issuecomment-357929302 I tried to do multiple insert with prepared statement (because writing of plain SQL is quite dangerous) and encountered with strange behavior - if text field value has question mark it would be replaced inline with next value to insert. Example: Table structure (taken from doc with slight modification):
Insert query:
Error produced by code: