Skip to content

Can we specify the unique together constraint in models? #36

Closed Answered by harshalizode
harshalizode asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, Mongoz has the feature to set the unique-together constraint in the Class Meta, but not have the documentation of it :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tarsil
Comment options

@harshalizode
Comment options

Answer selected by tarsil
@tarsil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants