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
The @Column definition currently:
@Column
struct Column { immutable string name; immutable int length; }
It would be great if there was a third parameter to mark a column as being unique:
struct Column { immutable string name; immutable int length; immutable bool unique; }
The text was updated successfully, but these errors were encountered:
I believe @UniqueKey() annotation is to be used instead @entity class Value { @id @generated int id; @column("name") @UniqueKey("name_index") string name; }
Let me know if it's not working as expected. Closing issue so far.
Sorry, something went wrong.
thanks for this. I've tried using it but it doesn't seem to work for me.
I tried using it, it didn't work for me either.
buggins
No branches or pull requests
The
@Column
definition currently:It would be great if there was a third parameter to mark a column as being unique:
The text was updated successfully, but these errors were encountered: