Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unique getter to ColumnDef #2401

Merged
merged 2 commits into from
Dec 23, 2024
Merged

Add unique getter to ColumnDef #2401

merged 2 commits into from
Dec 23, 2024

Conversation

elichai
Copy link
Contributor

@elichai elichai commented Oct 27, 2024

This is very useful for building generic getters, especially useful with .on_conflict(OnConflict::columns(...)) in order to get proper "unique constraint failed" errors

Copy link
Member

@tyt2y3 tyt2y3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you. of course, not sure why we never added this!

@tyt2y3 tyt2y3 merged commit 8a256ce into SeaQL:master Dec 23, 2024
Copy link

🎉 Released In 1.1.3 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants