Nineya
Home
Blog
软著申请
Gorm Add querying system
2025-01-14 08:14:12
342
Describe the featureIt would be nice to have a query builder to easily build queries just like it's done in bunMotivatio...
Gorm dial tcp :0: connect: connection refused
2025-01-14 08:14:10
968
DNS: xx:xxx@tcp(localhost:3305)/play?charset=utf8mb4&parseTime=true&loc=Localthe username and password are all c...
Gorm Transaction function returns error is {}, what is the reason?
2025-01-14 08:14:07
1362
GORM Playground Linkerr:=db.Transaction(func(tx *gorm.DB) error {retrun nil})err is {} what is the reasonComment From: g...
Gorm Api实现脏读语法,比如sqlserver:select * from table with(nolock)
2025-01-14 08:14:05
214
Describe the featureApi实现脏读语法,比如sqlserver:select * from table with(nolock)MotivationRelated IssuesComment From: li-jin-g...
Gorm how to set "user defined variables" per connections
2025-01-14 08:14:02
384
tidb has user defined variables tidb_batch_insert, how to set variable per connection?right now i exec db.Exec("set ...
Gorm 在测试用例使用事务时,出现deadlock
2025-01-14 08:14:00
319
Your Question在写一些测试用例的时候,为了方便跑完测试后删除测试数据,会使用事务,测试完成后再rollback。导致出现Error: Deadlock found when trying to get lock; try res...
Gorm 中文表头错误乱码
2025-01-14 08:13:57
881
https://blog.csdn.net/qq_39611230/article/details/121436439?app_version=5.6.0&csdn_share_tail=%7B%22type%22%3A%22blo...
Gorm 使用presto数据库时Limit和Offset的顺序
2025-01-14 08:13:53
210
Describe the feature使用presto作为gorm的dialector,执行同时带有limit和offset的语句报错。实际验证后发现是presto服务端要求offset必须出现在limit子句之前。希望最终生成的SQL语...
Gorm DeletedAt字段设置默认值后不能查询
2025-01-14 08:13:50
1570
对soft delete字段设置默认值后,新增数据在使用该默认值后,导致无法查询DeletedTime soft_delete.DeletedAt gorm:"default:2006-01-02 15:04:05;column:del...
Gorm Eager Loading on Many2Many does not preserve ordering
2025-01-14 08:13:48
2762
type User struct { gorm.Model Languages []Language `gorm:"many2many:user_languages;"`}type Language struct {...
Gorm why Updates method will create new empty record?
2025-01-14 08:13:45
5801
DescriptionThe following is detail SQLs, we can see Updates will create an empty record if object_stores record has alre...
Gorm Migrate from varchar to text not work
2025-01-14 08:13:42
1572
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionComment From: github-actions[bot]The issue ha...
Gorm Find To Map do not support .First on .Table
2025-01-14 08:13:38
540
gorm tag 1.23.6when i use like this:record:=map[string]interface{}{}db.Table("xxx").First(&record,"id=?",1), it retu...
Gorm Find To Map do not support .First on .Table
2025-01-14 08:13:36
865
gorm tag 1.23.6when i use like this:record:=map[string]interface{}{}db.Table("xxx").First(&record,"id=?",1), it retu...
Gorm How gorm handle the dns cache for database?
2025-01-14 08:13:33
326
we are connecting with our database with the domain name. So when the db do the upgrade and it mighe to change the IP . ...
Gorm AutoMigrate runs CREATE TABLE multiple times
2025-01-14 08:13:31
2644
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/487DescriptionWhen there's no existing table, everything ...
Gorm func DB#Create can not response the result using Association
2025-01-14 08:13:28
895
Your Questionmy struct is this:type A struct { Id int Name string BId int B B}type B struct { Id int N...
Gorm sharding 支持mysql么
2025-01-14 08:13:25
668
Comment From: github-actions[bot]The issue has been automatically marked as stale as it missing playground pull request ...
Gorm gorm 支持 mysql sharding么
2025-01-14 08:13:19
669
Comment From: github-actions[bot]The issue has been automatically marked as stale as it missing playground pull request ...
Gorm AutoMigrate: Syntax error at or near "NOT" (SQLSTATE 42601)
2025-01-14 08:13:14
461
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/489DescriptionSince v1.23.7 of gorm.io/gorm AutoMigrate m...
上一页
下一页
1
…
983
984
985
986
987
…
2246
.