You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a table with column with name condition.
Migration generated correctly with quotes around word "condition".
Howerver, on insert there was an error.
An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition, userId, managerId discr) VALUES (' at line 1"
Current behaviour
Error on insert.
How to reproduce
Create table with column condition. Try to insert with ORM or DBAL.
Expected behaviour
Column should be escaped properly.
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
I had a table with column with name
condition
.Migration generated correctly with quotes around word "condition".
Howerver, on insert there was an error.
Current behaviour
Error on insert.
How to reproduce
Create table with column
condition
. Try to insert with ORM or DBAL.Expected behaviour
Column should be escaped properly.
The text was updated successfully, but these errors were encountered: