Comments (8)
你使用的gen版本号是多少呢?
from gen.
你使用的gen版本号是多少呢?
v0.1.3
from gen.
嗯嗯,我看了一下,这种association mode
下的查询状态处理确实有点问题,我修改一下,下午发个新版fix掉
from gen.
嗯嗯,我看了一下,这种
association mode
下的查询状态处理确实有点问题,我修改一下,下午发个新版fix掉
👌
from gen.
更新了,试一下v0.1.5
from gen.
更新了,试一下
v0.1.5
嗯,可以了,辛苦。
from gen.
@dinofei 对了,顺便一提,Preload
方法里面的参数可以省略WithContext
方法,之前以为是用的是一般查询才说可以用这个的:
Preload(u.UserInfo.On(ui.ShopID.Eq(12)))
from gen.
@dinofei 对了,顺便一提,
Preload
方法里面的参数可以省略WithContext
方法,之前以为是用的是一般查询才说可以用这个的:Preload(u.UserInfo.On(ui.ShopID.Eq(12)))
ok 了解
from gen.
Related Issues (20)
- 升级 gorm.io/gen v0.3.25 后,为什么使用 g.GenerateAllTable() 生成的字段有变化? HOT 10
- 能不能仅生成model 不生成query啊 HOT 1
- 能否数据库不加外键也能使用FieldRelateConfig
- gen.Table 获取了一个空的 select * from
- 请问使用表达式更新时是否可以增加判断条件呢? HOT 2
- 使用gen生成Sqlite引擎的model时字段丢失了index tag
- GEN Can't generate correct time-related SQL
- 非主键但是是uniqueIndex的自增没有生成
- 希望gentool工具也支持下表前缀和列前缀
- Order By 无法执行自定义排序
- GEN Generate unique aware unit tests.
- The return value Count of the FindByPage function is always 0.
- 从sqlserver数据库将numeric字段逆向生成uint8
- gentools install broke yesterday - go install gorm.io/gen/tools/gentool@latest fails HOT 11
- 在使用 GenerateModel 时,总是将字段中的 ssh 转换为 SSH,想要转换为 Ssh HOT 1
- Gentool generates invalid tags on Postgres SERIAL PRIMARY KEY column
- Query generation with existing database table named "fields"
- 使用动态sql生成的方法,Preload加载关联的关系失败
- embed custom model for generated model
- Is there a way to add `db` tag HOT 1
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 gen.