23 Aug
2008
23 Aug
'08
3:05 a.m.
However, if someone is using named parameters instead of ? placeholders then perhaps we can simply do a strtr()? Hm, that wouldn't handle quoting/escaping, though. That may be a better way to go. (Store the query and the args separately, then merge them back together on rendering.)
Right. Seems like devel can ask for quoting via PDO::quote and then strtr(). See http://www.phpbuilder.com/manual/en/function.pdo-quote.php.