📜  sqlalchemy on delete set null - SQL 代码示例
📅  最后修改于: 2022-03-11 15:05:35.606000             🧑  作者: Mango
代码示例1
category_id = db.Column(db.Integer, db.ForeignKey('category.id', ondelete='SET NULL'))