Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unlike SQL, which you have to build as a string, the natural approach in JavaScript (even for junior devs) is to use an object literal to build the query. And then you get escaping for free.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: