docs/core/gdb-chaining-hook #186
Replies: 1 comment
-
想设置一个全局的HOOK,不是针对某张表,而是对所有的数据库操作都进行HOOK,获取执行时间、结果等相关信息怎么搞呢? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
docs/core/gdb-chaining-hook
在GoFrame框架中使用Hook特性,为Model对象绑定CRUD钩子,从而实现对数据库操作的增强和优化。文中详细介绍了相关定义、Hook注册方法以及使用示例,通过挂钩函数对查询操作进行了演示。
https://goframe.org/docs/core/gdb-chaining-hook
Beta Was this translation helpful? Give feedback.
All reactions