Nineya
Home
Blog
软著申请
Gorm db.AutoMigrate(&MyTest{}) 时报错
2025-01-14 08:27:33
3417
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1Description背景信息:go:1.18gorm:1.23.8sqlite3结构体如下type MyTes...
Gorm Wrong query is generated when using scopes beside group conditions
2025-01-14 08:27:30
3696
DescriptionI'm trying to implement a dynamic query filter thorugh gorm scopes, when scope has simple condition it genera...
Gorm db.Raw("show table status").Scan(&r)
2025-01-14 08:27:28
2252
type TableS struct { Name string `gorm:"column:Name"` Engine string `gorm:&q...
Gorm How can i close rows from DB.Raw().Scan()?
2025-01-14 08:27:25
405
Your Questioni'm using postgresql and using DB.Raw().Scan() gorm creates a lot of connections... i had the same problem ...
Gorm Single table inheritance.
2025-01-14 08:27:23
277
Describe the featurei'm working on a project and i have a lot of entities that need to be in single table inheritance .b...
Gorm Struck when setting maxOpenConnection on db
2025-01-14 08:27:20
1207
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionHi I tried setting the following db configura...
Gorm when release the rust version of gorm?
2025-01-14 08:27:17
146
Describe the feature求个rust版本的gorm。Motivationrust的几个orm都不能打。Comment From: li-jin-gouGood idea and I will send this issue ...
Gorm Hello,Query list report: "reflect: call of reflect.Value.Elem on zero Value;",The code view is as follows
2025-01-14 08:27:15
944
1.This is the model2.Data table recording3.Query List4.Get a list of result sets5.warningUnder the condition of not taki...
Gorm Association mode changes the value of primary_key
2025-01-14 08:27:05
917
GORM Playground Linkhttps://go.dev/play/p/2ytafWQffcDDescriptionI'm trying to insert products, one by one, to a category...
Gorm Why is the MySQL insert data string truncated after it is too long
2025-01-14 08:27:01
842
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionFor example, varchar (12), When I insert more...
Gorm create batch returning
2025-01-14 08:26:58
1147
err := tx.Clauses( clause.Returning{Columns: []clause.Column{{Name: "user_group_id"}}}, clause.OnConflict{...
Gorm 建议加入乐观锁功能
2025-01-14 08:26:56
1467
乐观锁是一个有用且常用的功能 , 建议GORM 加入此功能建议将 https://github.com/go-gorm/optimisticlock 整合。另外:也建议 在软删除上增加 使用 0,1 表示是否删除(整合 https://g...
Gorm Adding default:NULL to a Belongs To field ends up generating invalid SQL for Update Queries
2025-01-14 08:26:53
1405
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/546/filesDescriptionI just ran into this bug when I did s...
Gorm Many-to-Many and attributes
2025-01-14 08:26:51
3288
Hi !I was wondering what would be the best way to create a many-to-many relationship with extra attributes ? For instanc...
Gorm How to desensitize mail, mobile, and name data 【如何让mail、mobile、name数据脱敏】
2025-01-14 08:26:48
877
Is it possible to add a certain parameter in the struct so that the data can be encrypted and obtained, for example, the...
Gorm Belongs-To Association without a Foreign Key
2025-01-14 08:26:46
2141
Your QuestionI have a model (e.g. User) with a belongs-to association to another model (e.g. FavoriteBook). A User has a...
Gorm Byte enum error on upgrade from gorm v1.22.3 to v1.24.2
2025-01-14 08:26:43
1689
Your QuestionI've upgraded from gorm v1.22.3 to v1.24.2, but when I tried to insert an item using an "enum" byte/string ...
Gorm Object created and fetched do not match
2025-01-14 08:26:40
2367
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/533DescriptionI created user object and then called it fr...
Gorm postgres timestamp without time zone: time isn't converted properly to UTC
2025-01-14 08:26:38
797
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/544DescriptionWhen* client has non-UTC time zone;* and po...
Gorm Oracle driver for GORM
2025-01-14 08:26:35
1291
How to connect Oracle db with GORM?Comment From: github-actions[bot]The issue has been automatically marked as stale as ...
上一页
下一页
1
…
970
971
972
973
974
…
2246
.