请教大佬们,gorm 有办法在全局追加查询条件么,支持单表、多表。类似字段隔离。
1
RedBeanIce Apr 20, 2024
好像是有 hook 的。。。可以试试。
但是不知道你的实际情况是如何 |
2
sardina Apr 20, 2024
|