Primary key that is unique over 2 columns in SQLAlchemy

前端 未结 0 663
有刺的猬
有刺的猬 2020-12-13 06:45

Using SQLAlchemy I\'m a bit confused about composite keys (?), uniqueconstraint, primarykeyconstraint, etc. How do I create an class that is unique over 2 columns, and refer

相关标签:
回答
  • 消灭零回复
提交回复
热议问题