jarrodconnolly / sequelize-slugify

Sequelize Slugify is a plugin for the Sequelize ORM that automatically creates and updates unique, URL safe slugs for your database models.
https://sequelize-slugify.nestedquotes.ca/
MIT License
56 stars 27 forks source link

transaction support? #9

Closed thebigredgeek closed 4 years ago

thebigredgeek commented 7 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.

thebigredgeek commented 7 years ago

https://github.com/jarrodconnolly/sequelize-slugify/pull/10

jarrodconnolly commented 4 years ago

Much appreciated! Functionality coming soon in the 1.x release.