Aurora Blog
Home
Gorm fatal error: concurrent map read and map write [with reproduction]
GORM Playground LinkReproducible, but might need to run 100+ times to get it.Had to disable migrations, siince they seem...
2025-09-10 14:01:19
12950
Gorm 关于在BeforeUpdate钩子函数中执行变更字段的问题
Your Question我在BeforeUpdate钩子函数中有个需求想统一变更修改人字段,于是使用tx.Statement.SetColumn("modify_user", xxx)设置,但是出现了问题The document you ...
2025-09-09 14:01:57
1326
Gorm gorm.G[E](r.db).Count undefined 1.30.3 to 1.30.5
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1Descriptiongorm v1.30.5 give error into method Countgorm...
2025-09-09 14:01:55
2648
Gorm postgresql : UPDATE query formed incorrectly, update ... set ... FROM ... where
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/746 provided by @ajhodges DescriptionI have an update exe...
2025-09-07 14:00:29
8871
Gorm Can soft delete specify a delId field that is set to the value of id instead of creation time to avoid deletion conflicts?
Describe the featureThe feature request is to enhance the soft delete functionality by allowing the specification of a d...
2025-08-31 14:00:36
1337
Gorm Postgres hopes to add string.agg to replace GroupConcat
Describe the featureDescribe the featurecount, err := qu.WithContext(ctx). Select( qu.UID, ...
2025-08-30 14:01:10
1354
Gorm Count fails when using select within scopes
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/796DescriptionWhen using select within a scope, the Count...
2025-08-28 14:01:07
201
Gorm 使用Callback填充uuid,批量插入的时候,最后一条数据id为空
结构体// UUID UUIDtype UUID struct { Id string `gorm:"type:varchar(40);primary_key;" sql:"comment:'UUID'&...
2025-08-22 14:01:20
4096
Gorm Generics API Joins() fails on Oracle due to hardcoded "AS" before table alias
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/825DescriptionWhen using GORM generics Joins with a subqu...
2025-08-22 14:01:17
314
Gorm model value required when using preload
When I run tx.Preload, get error: "model value required when using preload"tx *gorm.DB tx = tx.Preload("Tags"...
2025-08-21 14:01:55
1057
Gorm Reuse context inside Gorm plugin "fails"
Your QuestionI created a pagination plugin that basically do a select count(*) once a select query is triggered. The cod...
2025-08-20 14:01:53
1533
Gorm Association removal not handled by Updates() even with FullSaveAssociations for many2many
For a simple model with a self-referential many2many link (Depends) an Updates() does not remove associations.It seems t...
2025-08-20 14:01:50
1668
Gorm Replace in Many2Many
Your QuestionHow to use the Association#Replace correctly? I keep getting duplicated key not allowed error when I'm repl...
2025-08-18 14:00:42
582
Gorm Boolean fields cant be set to false if they have a default tag which is set to true
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/824DescriptionThis is a duplicate of #7543 which the gith...
2025-08-16 14:01:09
730
Gorm bool field with default:true always stored as true, even when explicitly set to false in JSON
I'm encountering unexpected behavior with GORM (v1.30.1) when inserting a record that includes a boolean field with defa...
2025-08-16 14:01:05
4863
Gorm I want to implement global error handling in Gorm
Your QuestionI want to implement global error handling in Gorm, for example, if a 'too many connections' error occurs du...
2025-08-15 14:01:50
514
Gorm how to control timeout for every single sql statement,like create,update,query,raw sql
Your Questionhow to control timeout for every single sql statement,like create,update,query,raw sqlThe document you expe...
2025-08-15 14:01:48
3182
Gorm Transaction not commit under certain special circumstances.
Your QuestionversionMySQL 8.1.0gorm.io/driver/mysql v1.5.1gorm.io/gorm v1.25.2DescriptionI ran into a really weird probl...
2025-08-15 14:01:46
2825
Gorm Support duckdb
Support duckdbSupport duckdbComment From: github-actions[bot]The issue has been automatically marked as stale as it miss...
2025-08-13 14:01:50
1198
Gorm Bug: SetColumn can possible update wrong column I BeforeUpdate hook
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/707DescriptionRelated to #4990The SetColumn updates the w...
2025-08-13 14:01:47
3505
上一页
下一页
1
2
3
4
5
.