[Solar-talk] Model class exception where column name = "key"
Cruz, Darwin
Darwin.Cruz at gd-ais.com
Wed Dec 12 10:09:58 CST 2007
I've run into an issue where if i have a table in the database with a
field that is named "key" i'm getting an exception error when i call a
fetchAll() to the model.
error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have
an error in your SQL syntax;
I changed to column name from "key" to "mykey" and it works fine. Just
wanted to let people know.
More information about the Solar-talk
mailing list