[development] how to restore devel.module query log in HEAD
Moshe Weitzman
weitzman at tejasa.com
Sat Aug 23 01:05:06 UTC 2008
>
> 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.
More information about the development
mailing list