You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem is known, but using backticks for all column names is not a valid solution, because this is MySQL-/MariaDB-specific. (For instance, PostgreSQL uses quotes...)
Instead, I have to implement a method in the connection class that can be adapted for each specific database implementation.
Using the function
SPDO::insert
reserved words cannot be used as column names.Example:
This does not work because
rows
is a reserved word in new mariadb installations.This works, cause the column name is in backticks.
A general fix would be to put all column names in backticks.
The text was updated successfully, but these errors were encountered: