tips

Two really cool Node MySQL tips

Node MySQL is a great traditional alternative to mongo and all the jazz youngins are using. One important advice - never use + to concatenate queries unless you know what you're doing. 1. Always escape using ? as placeholders Queries are usually written as: connection.query('SELECT * FROM foo WHERE bar = baz',…