We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there, I found your ORM great and want to use it.
But for usage I need support for unique constraints generation for multiple fields. https://github.com/go-pg/pg has this feature: it looks like
type Translation struct { Id int BookId int `sql:"unique:book_id_lang"` Book *Book // has one relation Lang string `sql:"unique:book_id_lang"` }
So I`m wondering if there is any plans for this feature?
The text was updated successfully, but these errors were encountered:
Support for user-defined indices via struct tags is kind of planned in #243, but due to lack of time I feel like those are not arriving anytime soon.
PRs are welcome, though.
Sorry, something went wrong.
No branches or pull requests
Hi there, I found your ORM great and want to use it.
But for usage I need support for unique constraints generation for multiple fields. https://github.com/go-pg/pg has this feature: it looks like
So I`m wondering if there is any plans for this feature?
The text was updated successfully, but these errors were encountered: