When using the execfunction of a db_* module, is there a way to access the actual query with all parameters substituted for logging or debugging purposes? There is for example dbFormat(link to db_mysql, but it's also in db_postgres) that could be used but it's not exported (while dbQuoteis, btw). So maybe there is another way to get the formatted query (other than from the db log itself)? Or would it be a good idea to export dbFormatin future versions?