Closed thebigredgeek closed 4 years ago
It might be a good idea to pass options.transaction to checkSlug. This plugin doesn't seem like it would be reliable for insertions of many records within a single transaction, since it doesn't scope the Model.find to the transaction.
options.transaction
checkSlug
Model.find
https://github.com/jarrodconnolly/sequelize-slugify/pull/10
Much appreciated! Functionality coming soon in the 1.x release.
It might be a good idea to pass
options.transaction
tocheckSlug
. This plugin doesn't seem like it would be reliable for insertions of many records within a single transaction, since it doesn't scope theModel.find
to the transaction.