Nineya
Home
Blog
软著申请
Gorm Is this error a bug
2025-01-15 04:22:24
1445
Your Questionmy code like:db := G.DBif in.BrandId != 0 { db = db.Where("`brand_id` = ?", in.BrandId)}if in...
Gorm More self explanatory locking code and doc improvement
2025-01-15 04:22:22
855
Describe the featureThere is a section in documentation describing locking https://gorm.io/docs/advanced_query.html#Lock...
Gorm db.save() is not behaving as expected when updating
2025-01-15 04:22:19
1241
when i use to udpate a table called users it using the db.save(&user{}) it generate incorrect sql command for postgr...
Gorm How to get the additional info from the ManyToMany JoinTable?
2025-01-15 04:22:16
3210
Your QuestionHow to get the additional info from the ManyToMany JoinTable?case: user - language (Many-to-Many)like: ( th...
Gorm Create Foreign Key constraint without having embedded struct
2025-01-15 04:22:14
1419
Your QuestionI would like AutoMigrate to be able to perform this in my Table2: FOREIGN KEY (table1_id) REFERENCES table1...
Gorm ToSQL Func has a \\ bug
2025-01-15 04:22:11
1287
my table has a poi_info column,that type is varchar ,i save a json string into this columnthis is the string:{ "location...
Gorm Dynamic struct autoIncrement ID problem in Create error '@id' field does not exist, 动态结构体Create 时报错’@id’字段不存在
2025-01-15 04:22:05
1413
Dynamic struct autoIncrement ID problem in Create error '@id' field does not exist, statically compiled struct does not ...
Gorm Specify a nonzero value if no value is specified
2025-01-15 04:22:03
962
Describe the featureHi, I've been using Gorm for a long time.I use uncle bob's clean architecture. My logic is that at t...
Gorm Insertion with array column type fails
2025-01-15 04:22:00
670
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/759DescriptionI want to have a table, where the colum can...
Gorm How to access other field of the model in custom serializer
2025-01-15 04:21:57
4433
How to access other field of the model from custom serializerI need to deserialize to various data types based on the va...
Gorm Batch Update Feature Request
2025-01-15 04:21:54
2281
I would love to have an option to do a Batch Update. This is different than the Batch Upsert. In general I do not like...
Gorm Automatic database reconnect
2025-01-15 04:21:47
6235
Describe the featureGORM should try to reconnect to a database when connection is lost (e.g. Network error, DB restart)A...
Gorm [Question] Is there any way to set the max db connection idle time in the gorm.Open() function?
2025-01-15 04:21:44
1080
Your QuestionHi folks,Just wondering if there's any way to set the max db connection idle time in the gorm.Open() functi...
Gorm Support for Materialized Views and With clauses in view creation
2025-01-15 04:21:41
656
Describe the featureThe addition of views is useful, but there is no support in the options to create a materialized vie...
Gorm support dynamic sql with xml like mybatis
2025-01-15 04:21:39
658
Describe the featureMotivationRelated IssuesComment From: saeideeCould you please add a brief motivation/use case with a...
Gorm Release Savepoint
2025-01-15 04:21:36
1184
Your QuestionWhy doesn't gorm support RELEASE SAVEPOINT? it allows the DB to free up resources by rolling the changes in...
Gorm gorm1 InstantSet -> gorm2 ?
2025-01-15 04:21:34
834
InstantSetHi. I inherited a project that uses gorm v1, and we would like to upgrade to gorm v2. In the code, db.InstantS...
Gorm Transaction using DBResolver (two databases)
2025-01-15 04:21:31
2648
Your QuestionI am trying to use transaction in a sharded database. So I have two databases master and shard1.Following c...
Gorm Gorm 没有像Gin 的ctx.About()这样的拦截功能吗?我找了Gorm的文档貌似没有看到相关操作
2025-01-15 04:21:28
1292
Your Question我想要通过注册中间件的方式实现对Gorm的限流器,但是我尝试了,实现Plugin接口并不能操作本次查询链路终止。The document you expected this should be explained/...
Gorm feat: all APIs support context
2025-01-15 04:21:25
752
Describe the featureCurrently, some APIs lose context, which may cause context-based functions to fail in this part of t...
上一页
下一页
1
…
905
906
907
908
909
…
2246
.