simple-mvc-framework/v2 — pull request #74 by nikatlas (2014-10-30 12:25:17+00:00)
Title: Reserved Word Fix SQL - Database Helper

Simple fix on an issue i opened and closed :P .
Use of quotes( " ) on insert/update/delete functions
to avoid error thrown by column names who are reserved keywords
Enabling ANSI_QUOTES mode on sql
The " suppress the error thrown by Database about reserved keywords.
Clarified here:
http://dev.mysql.com/doc/refman/5.6/en/sql-mode.html#sqlmode_ansi_quotes

Tested only on mysql.
But will most likely work on all DBS as proposed here:

http://dba.stackexchange.com/questions/23129/benefits-of-using-backtick-in-mysql-queries#answer-23132