Bookshelfjs ORM How to get or see SQL statement its building
<p>When building ORM query, I want to see what the actual (raw) query is that is executed.</p>

<p>For example in Rails we can do like this:</p>

<pre><code>User.where(name: 'Oscar').to_sql
# =&gt; SELECT "users".* FROM "users"  WHERE "users"."name" = 'Oscar'
</code></pre>

<p>This feature present in Bookshelfjs? or any other way to get this?</p>

<p>Thanks in advance</p>