Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

I want debug return sql #189

Open
xbl opened this Issue · 0 comments

1 participant

@xbl

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.