Is it bad practice to use string interpolation to build a sql query also when using the escape function?

前端 未结 0 663
萌比男神i
萌比男神i 2020-12-06 14:08

Someone said that using string interpolation is bad practice also when using the escape function:

const db = require(\'./config);
...
`SELECT * from Users whe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题