If I try to use Sequelize.js like this:
model.user.create
(
{
username : user_name,
password : hashed_password
},
{
attribute : ['id'],
raw : true
}
);
Will Sequelize.js ensure user_name will not cause any SQL injection or should I make sure to escape it before handing it off to Sequelize.js ? (in model, both username and password are just type : Sequelize.TEXT)