escaping column name with PDO
Yes, PDO does not have a builtin function for delimiting identifiers like table names and column names. The PDO::quote() function is only for string literals and date literals. For what it’s worth, when I worked on Zend Framework, I implemented a quoteIdentifier() function. You’re right that SELECT * fetches all columns, likely using more memory … Read more