Comments (1)
gorm本身是支持的,https://gorm.io/zh_CN/docs/hooks.html
在调用gplus方法的时候传入自定义的gormDb就可以了
from gorm-plus.
Related Issues (20)
- 什么时候才有根据数据库生成实体类 CRUD功能 ,还有分页功能和事务什么时候有呀 期待你的更新 HOT 3
- go mod tidy error HOT 2
- TestSelectListQueryModel Error HOT 3
- 事务使用报错 HOT 2
- 建议结构体改为嵌套 HOT 8
- 没有找到能执行DDL语句的接口 HOT 2
- 请教一个问题,这个gorm-plus事务是不是还没实现? HOT 1
- 分页JSON序列化字段可以改成小驼峰吗? HOT 1
- 目前似乎没有看到有关动态表相关的支持,可以添加这个需求的支持吗 HOT 3
- 分页查询只有单个列执行查询 在查询SelectCount总数会报错,因为gorm里count处理在mysql会有问题 HOT 3
- 能不能通过接口来做的更通用一些?做成Repository层 HOT 1
- 提供一种基于流式分页的分页函数 HOT 1
- 按条件判断拼接查询bug
- 当子条件的查询表达式为空时,构建sql拼接了多余的LeftBracket和RightBracket HOT 6
- 增加apply方法,用于拼接自定义sql字符串 HOT 4
- support multiple gorm HOT 3
- 为什么自动给我加了s HOT 2
- 关于连接池的问题
- 有异常panic HOT 3
- 关于join的查询,目前我没有找到该功能 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gorm-plus.