The latest version of the book is P1.0, released about 2 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: P1.0 (25-Feb-16)
PDF page: safar
Query doesn't work for Karl. Generated SQL: SELECT * FROM accounts WHERE name="'karl'"
Fix: 'SELECT * FROM accounts WHERE name=' + connection.escape(req.params.name)--Matt