sequelize/sequelize — pull request #1672 by alexwl (2014-04-22 10:34:42+00:00)
Title: Added support for limit clause on update

This PR adds limit option to Model.update (related to https://github.com/sequelize/sequelize/issues/1666)

It allows to make queries like this :
UPDATE Resources SET userId = 1 WHERE userId IS NULL LIMIT 1
via Model.update

Only mysql and mariadb support limit on update.
Postgres doesn't support it.
SQlite supports limit on update only if it is built with the SQLITE_ENABLE_UPDATE_DELETE_LIMIT compile-time option.