[英]grails how to create a trigger on a relational table (many to many)
我知道beforeInsert,beforeUpdate和beforeDelete事件应该是可能的,但是有没有更方便的方法?
GORM does not provide a mechanism for creating a trigger in a relational database. GORM没有提供在关系数据库中创建触发器的机制。 The specifics of how to create a trigger in your database will depend on what database you are using, but GORM won't be involved in that.
如何在数据库中创建触发器的具体细节取决于您所使用的数据库,但是GORM不会参与其中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.