sqlite外键触发器生成器
sqlitefktg的Python项目详细描述
sqlite解析和存储外键约束,但不强制它们。这个 这个问题的简单解决方案是创建insert、update和delete触发器 模仿其他rdbms的执行行为。sqlitefktg就是这么做的-自动的。
功能
- automatic generation of foreign key enforcing triggers based on the data fetched from the database,
- may be used as a command-line tool, as well as inside your own application,
- 2-phase detection/generation process allows the advanced user to customize the end result.