Node.js SQL-query builder