Tuesday, 25 April 2017

How to wrap long sql statement in node js

I have a large mysql select query (Over 100 lines) that I need to run in a node.js app. The fields in my sql statement use backticks ` so I'm not sure if I can use ES6's multi-line string feature. Is there any other method I can use to wrap my sql query without having to concatenate each line?



via Joseph Sortino

No comments:

Post a Comment