Debugging PDO Prepared Statements
Something that has always bugged me about using prepared statements, is that you can really only get the query sent to the database by catching it in the logs.
Today, a friend asking me if it was possible to get a prepared statement back from PDO with the values placeholders replaced, finally caught me in a moment where I could do something about it.
I wrote a thin PDO wrapper class that will [imperfectly, I'm sure] return the completed query.… More
it is with a passion that I hate MySQL today. just like every other day.
@dshafik [6 hours ago]
@skoop yay! congrats :)
@dshafik [10 hours ago]
@lig on top. just put it on top.
@dshafik [10 hours ago]
@dshafik Yep, that feature will definitely be in 0.3.2.
@johnwinter [15 hours ago]
@dshafik I agree. I don't like his music much, but the man can play and can put on a great show.
@vidluther [20 hours ago]
