It appears that db_insert() (Drupal 7) fails when I try to specify a column name which is one of the reserved keywords (in this case, insert
). I tried finding a way to use the back tick syntax which works with a direct SQL command, insert
, but it still does not seem
to work.
Googling so far has only confirmed this problem and returned suggestions to change the column name.
Is this the only solution, or is some other way to get db_insert to work (there's a good
reason why the column is called insert
in our application)
thanks!
INSERT INTO
query ? I doubt.