Nineya
Home
Blog
软著申请
Gorm Multiple calls to the Model method update the query table name only on the first call
2025-01-15 04:19:14
4089
playgroundhttps://github.com/go-gorm/playground/pull/704problemWhen a Model method is called multiple times, only the fi...
Gorm Polymorphism Many To Many support
2025-01-15 04:19:12
1906
Describe the featurePolymorphism Many To Many supportMotivationRelated IssuesComment From: yaameenAny update on this? @...
Gorm Build for sqlite3 on ubuntu 24.04 fail with link libicu18n
2025-01-15 04:19:09
3362
GORM Playground LinkI can not run the ./test.sh form goplayground thus no playground availableError isgorm.io/gen/exampl...
Gorm Escaping % and _ in like SQL queries
2025-01-15 04:19:06
2504
Describe the featureAllow escaping % and _ in like SQL queries sent to database using ESCAPE clause as described on:http...
Gorm Problem with migrations while defining manually foreignKey and references
2025-01-15 04:19:04
2937
Your QuestionI have three tables:type ShipmentProvider struct { ID uint `gorm:"primaryKey"` Name strin...
Gorm The constraint "unique" is not working
2025-01-15 04:18:56
2593
Your QuestionI was trying to use the unique constraint in the email field of my model but this is not being migrated to ...
Gorm 如何使用 Updates 方法无法保存字段类型为 map 的数据
2025-01-15 04:18:53
2768
Your Question我没有办法保存字段类型为 map 的数据type ConfigUpsertRequest struct { ID uint `json:"id" ...
Gorm SQLite driver's dependency on gcc
2025-01-15 04:18:48
2773
The problem was mentioned in https://github.com/go-gorm/gorm/issues/6468, gorm.io/driver/sqlite depends on github.com/ma...
Gorm Reflection issue when trying to Join relationships
2025-01-15 04:18:46
2333
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/766DescriptionI have a simple example here that shows whe...
Gorm How to order by an association field?
2025-01-15 04:18:43
5458
Hi all! I have already search in the issue tracker but no success here we go:What version of Go are you using (go versio...
Gorm A Bug in Passing Array to Where() Func
2025-01-15 04:18:41
865
A bug in passing array to Where() func, as shown in the following example:var a []string{"str1","str2","str3"}db.Where("...
Gorm Upgrade 1.25.5->1.25.7: AutoMigrate returns the error "insufficient arguments"
2025-01-15 04:18:38
2804
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionComment From: github-actions[bot]The issue ha...
Gorm db.Clauses(clause.OnConflict{UpdateAll: true}).Create(users) 导致主键不连续
2025-01-15 04:18:35
7196
users := []*User{ {Username: "usertest", Email: "user3@example.com"}, {ID: 1, Username...
Gorm When using OnConflict{UpdateAll: true} for batch insertion, if there is an update, the returned ID is incorrect in MySQL
2025-01-15 04:18:31
6206
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/737DescriptionUniqueUser is a model which exists unique c...
Gorm Two unique indices created when using syntax uniqueIndex:custom_index_name, PostgreSQL
2025-01-15 04:18:28
2038
Issue:Two indices created when using syntax uniqueIndex:custom_index_nameExpected resultUsing the uniqueIndex with a cus...
Gorm The transaction is rolled back before returning error
2025-01-15 04:18:25
3247
Your QuestionI want to delete the existing record in a transaction after error creation. In the document, it is said tha...
Gorm Issue with Preload(...) and Prepared Statements After Schema Migration
2025-01-15 04:18:21
1178
DescriptionHi,First, thank you for all the hard work you do on GORM!I’m encountering an issue when using Preload("Blah.B...
Gorm How to solve the deadlock problem caused by upsert in concurrent scenarios
2025-01-15 04:18:19
4020
Your QuestionI have a database deadlock problem when I parallel upsert some data, how can I solve it?Examples are as fo...
Gorm MariaDB database batch insert incompatibility issue
2025-01-15 04:18:16
1621
MariaDB database is fully compatible with MySQL sql, but there will be problems when doing batch insert Create. It seems...
Gorm Allow enabling TranslateError for session too instead of only globally
2025-01-15 04:18:08
943
Describe the featureAllow enabling TranslateError for gorm.Session instead of only globally (gorm.Config)MotivationI'd l...
上一页
下一页
1
…
908
909
910
911
912
…
2246
.