Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


I want debug return sql #189

xbl opened this Issue · 0 comments

1 participant


When my sql particularly complex, I hope to be able to output sql, and replaces the placeholder

like that:

var query = oracle.execute('select * from task where userId = :1 and taskId = :2', [1, 2], function() {
// ...

console.log('debug sql: %s', query.sql);
// debug sq: select * from task where userId = 1 and taskId = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.