I'm using postgresql database. I have table开发者_StackOverflow社区 with column called "from" (I can't change it). Sql insertion query generated by doctrine are incorrect, because column name "from" should be closed by quotation marks. How can I tell doctrine to do this?
I believe, there is fast and clean way to correct that.
Thanks in advance.
Maybe $conn->setAttribute(Doctrine_Core::ATTR_QUOTE_IDENTIFIER, true);
? From Docs -> Configuration -> Identifier quoting
精彩评论