Can sequelize.query () native queries use the replacements parameter to prevent sql injection?

Can the

sequelize.query () native query use the replacements parameter to prevent sql injection?

sequelize.query("SELECT * FROM projects WHERE status = ?",
  { replacements: ["active"], type: sequelize.QueryTypes.SELECT }
).then(projects => {
  console.log(projects)
})

status

Jun.29,2021

I have tested it with sqlmap tool, and it can prevent Sql injection. Welcome your additions.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e99a78-1774.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e99a78-1774.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?