pdo-debug
pdo-debug copied to clipboard
Emulates the SQL query constructed by PDO. The magic behind: A simple function that combines your parameters and the raw query. Not perfect, but does the job.
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...
to reproduce use the same parameter multiple times in the query and run your debug
Probably not a problem with the code (which I have been using for years and find to be excellent! Thank you!), but with my use of it. My code $sqlText...
When the value was boolean type, the script has omitted it, which lead to different counts of items in 'keys' and 'values' arrays, which therefore lead to malfuction. I have...
You have a typo in the docs that confused some unsuspecting fellow who came to Stack Overflow, scared by the fact that pdo-debug is not using prepare(). It's better to...
This Class do not work for me. I'm changed code Mark from php.net `static public function show($sql_string, array $params = null) { if (!empty($params)) { $indexed = $params == array_values($params);...