PDOStatement::activeQueryString()
| From: | Adam Baratz | Date: | Thu, 13 Oct 2016 17:59:17 +0000 |
| Subject: | PDOStatement::activeQueryString() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-96345@lists.php.net to get a copy of this message | ||
Hi,
I'd like to add a new method that would return the prepared statement as it
was executed. It's common for people I work with to want this info for
debugging, but you can't get it from userland. The functionality is similar
to, but distinct from PDOStatement::debugDumpParams().
I figure it's always easier to discuss proposals alongside real code:
https://github.com/php/php-src/pull/2159
Please let me know what you think, if an RFC would be appropriate, or what.
Thanks,
Adam