How to view underlying SQL string for NodeJS editor?
How to view underlying SQL string for NodeJS editor?
![YOM](https://secure.gravatar.com/avatar/d9561e3169c226920673e1992ffc8794/?default=https%3A%2F%2Fvanillicon.com%2Fd9561e3169c226920673e1992ffc8794_200.png&rating=g&size=120)
Hi, I'm having a hard time finding how to view the entire SQL query string from the Editor instance in my NodeJS app. I'm wanting to see it for some DB performance info
let editor = getEditorInstance(db, eventBody.columns, colConfig);
editor.debug(true);
For some reason, this code isn't outputting anything to the console on my server. Is this not the right way to do this?
This question has an accepted answers - jump to answer
Answers
according to this thread the steps needed are different:
Kevin
Thank you so much for the quick response, that did the trick :-)