var squel = require('squel'); var person = { name: 'Test' }; var query = squel.update().table('person').set('name', person.name).set('lastname', person.lastname).toParam(); console.log(query.text); console.log(query.values);