r/node • • Nov 28 '19

Node.js MySQL Crash Course | Node.js MySQL CRUD App

https://youtu.be/cfff2lQfXsw
62 Upvotes

4 comments sorted by

15

u/warchild4l Nov 28 '19

Please never use template strings to build queries. just in those places use ? and then pass in your data in a query function as a second parameter. or if you do, just make sure to add db.escape() .

4

u/Capaj Nov 28 '19

Why do people upvote this? This not high quality content.

2

u/petercooper Dec 05 '19

There's something funky about this sub-reddit. If you look at the "top" items for the week now, #1 is about Python, #2 is a question about setting up a VPS, #3 and #4 are private YouTube videos you can't watch..

3

u/monxas Nov 28 '19

I feel this is being upvoted by bots