Closed
Description
I have a table in my database that has 2 columns in it. First column is the id and the second one is the name. if i try to run
$this->modelsManager->executeQuery('INSERT INTO ModelName (column_name) VALUES (\'test\')');
I will get "Unknown expression" but if I do
$this->modelsManager->executeQuery('INSERT INTO ModelName (id, column_name) VALUES ( \'\' \'test\')');
it will add the row. I added an extra column to the table for test and it would add the row without me specifying the id column.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.