14 ms·
You could try using a SQL builder which should remove a lot of the boilerplate code for handling errors, SQL injection, etc. There are several and I do not have
by rpedela 13y ago
You could try using a SQL builder which should remove a lot of the boilerplate code for handling errors, SQL injection, etc. There are several and I do not have any recommendations, but here is one for example: https://github.com/brianc/node-sql https://github.com/brianc/node-sql. You are still writing SQL, but the code should be a lot cleaner.