Gorm exist parsing error while using Group many times in subQeury

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionComment From: github-actions[bot]The issue ha...

Gorm 最新版的sqlserver驱动不兼容怎么解决

Comment From: github-actions[bot]The issue has been automatically marked as stale as it missing playground pull request ...

Gorm The database null field is filled with an existing value

Only one record in the database File table has a value, and the others are all null var children []model.File ...

Gorm Gorm after sometime makes api freeze and gives <nil> value after sometime

Using gorm version github.com/jinzhu/gorm v1.9.12 with mysql 8, After sometime our application is hanging and the db que...

Gorm Joins() doesn't respect soft deletes

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/412DescriptionIf you soft-delete a Has-One relationship, ...

Gorm Native support for protobuf types

Describe the featureAllow protobuf messages to be stored in the database via GORM without implementing the Scanner/Value...

Gorm Preload single value from multiple options

Your QuestionHow gorm decide what preload entity to return from multiple options?type Order struct { gorm.Model St...

Gorm Support logging SQL statements without variables

Describe the featureCurrently, when running with Logger enabled, it will log full SQL statement, ex:SELECT * FROM &quot;...

Gorm clause.OnConflict Columns 是不是加不加、联合唯一键加不加测试都一样

update or create Columns 指定联合唯一约束 or 不指定结果没有任何区别The document you expected this should be explainedExpected answerComment...

Gorm 批量upsert, 某个字段如何在原有基础上增加新值?

Your Question批量upsert, count如何在原有基础上增加新值The document you expected this should be explainedExpected answerComment From: s...

Gorm Use of a table alias does not work with soft delete

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/541DescriptionOur REST API supports an expression filter ...

Gorm ExplainSQL does not show the correct time zone for time parameters

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/465https://github.com/jsgoupil/gorm/commit/95f580725520d3...

Gorm Unique field always causes field migration

GORM Playground LinkNo time to make it for now.Descriptionunique Field (having uniqueIndex or index:,unique tag) always...

Gorm Unexpected alter table in auto migration

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/553DescriptionComment From: github-actions[bot]The issue ...

Gorm Tag default:'null' always causes field migration

GORM Playground LinkNo time to make it for nowDescriptiondefault:null and default:'null' are being treated the same when...

Gorm DB.AutoMigrate migrates associated tables

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/549DescriptionDB.AutoMigrate automatically migrates assoc...

Gorm Error 1110: Column 'id' specified twice

DescriptionJust like the title, An exception has occurred when using *gorm.DB.Create() or *gorm.DB.CreateInBatches(), go...

Gorm First() is not returning ErrRecord not Found

if err := s.db.Where(&amp;Category{UUID: id}).First(&amp;category).Error; err != nil { if errors.Is(err, gorm.ErrRecord...

Gorm db.Set("gorm:table_options", "ENGINE=Memory").AutoMigrate(&WebSocket{})

使用自动迁移,会忽略掉grom:table_optionsmigrator.go 252行if tableOption, ok := m.DB.Get("gorm:table_options"); ok { createTab...

Gorm default:null columns do not update with clause.OnConflict{UpdateAll: true}

Your QuestionI ran into an issue where I was unable to update users records with a model similar to this (basically, the...
上一页 下一页
.