feat(mysql): add support for skipLocked#18225
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe MySQL dialect support matrix is updated to enable the ChangesMySQL skipLocked Support
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pull Request Checklist
Description of Changes
Github Issue Link: #15589
MySQL 8.0+ supports
SKIP LOCKEDsyntax (introduced in MySQL 8.0.1), but the Sequelize MySQLdialect does not declare support for it. This PR adds
skipLocked: trueto the MySQL dialect'ssupported features.
Without this, using
skipLocked: truein a query silently ignores the option on MySQL.Summary by CodeRabbit