Logging SQL excecuted queries in promise-mysql
<p>As defined in <a href="https://github.com/mysqljs/mysql" rel="nofollow noreferrer">mysql</a></p>

<pre><code>var post  = {id: 1, title: 'Hello MySQL'};
var query = connection.query('INSERT INTO posts SET ?', post, function(err, result) {
  // Neat!
});
console.log(query.sql); // INSERT INTO posts SET `id` = 1, `title` = 'Hello MySQL'
</code></pre>

<p>We can see the excecuted queries in log
Please suggest how to log exceuted queries in promise-mysql</p>

<p>Thanks</p>