pdo-debug
pdo-debug copied to clipboard
Example from readme is invalid
You are not taking types into consideration.
Your example from readme is actually "seen" by database general_log as:
INSERT INTO test (col1, col2, col3) VALUES ('hello', '123', NULL) - notice apostrophes around 123.
This due to the fact that when no type is assigned to variable it's being used as PARAM_STR in PDO.