Gorm Error scanning null values into models when using null.String

Playground linkhttps://github.com/go-gorm/playground/pull/762/filesNote I've made a change in this that assumes you have...

Gorm Custom struct returns time Time is zero

// LoginResponse 登录响应type LoginResponse struct { Token string json:"token" ...

Gorm Bulk Update/Remove associations

Your QuestionMy goal for what I am trying to accomplish, Replace database records with contents of inputThis can either ...

Gorm Ability to perform “preloading” for Postgresql in a single query

Your QuestionDo we have the ability to do “preloading” in a single query? We can get data in a single query in the form ...

Gorm gorm Scopes实现根据传入结构体的tag去实现拼接where条件sql

Describe the feature比如业务写dao层的时候,经常函数传进来的是ctx和结构体参数type A struct { A string filter:"col:a;opr:like" B string filter:...

Gorm Enhancing GORM: Proposal for Migration Hooks

Describe the featureI propose the introduction of migration hooks within GORM, enabling developers to execute custom log...

Gorm data race with cycle relation

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/752DescriptionIn my project, hava some cycle orm relation...

Gorm External JSON Library Integration

Hello,The Gorm library is a valuable ORM tool for our Go projects. However, we have a need to use an external JSON libra...

Gorm Is it possible to determine/control the order of arguments when making a query using Save?

Your QuestionIs it possible to determine/control the order of arguments when making a query using .Save()? I am utilizin...

Gorm Why gorm case sql.RawBytes to string when scanIntoMap?

GORM Playground LinkDescriptionI find out that GORM cast byte arrays to strings, if ColumnTypeScanType returns sql.RawBy...

Gorm Join clause does not implement the clause interface

GORM Playground LinkI tried to but running the test.sh in the playground repo returns the error:go: gorm.io/playground i...

Gorm How to get operations name/ type in custom callback?

Your QuestionI have a custom callback like this:func customAfterModifyCallback(db *gorm.DB) { if db.Error == nil { //...

Gorm How to bug report of teh playground code?

You request everyone to report using your playground code. But the playground code is broken on my machineHow to report ...

Gorm 如何判断SQL是在事务内执行的,有接口提供判断吗?想在日志打印时加上判断,方便排查问题,谢谢

Your QuestionThe document you expected this should be explainedExpected answerComment From: xuxing421GORM perform single...

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...

Gorm 使用gorm的gen 生成关联模型,为什么在 query 里的结构体内没有关联模型字段?

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

Gorm Does callbacks run for raw db call

Your QuestionAm trying to register a create callback hook for my db but it seems not to be workingpackage mainimport ( ...

Gorm Can not set auto increment primary key after created if it's a custom type

GORM Playground LinkPrepareing...DescriptionI am already impl a optional basic type : https://github.com/imiskolee/optio...

Gorm Gorm cann't connect Doris

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionGorm cann't not connect DorisGorm version:gor...

Gorm Updates cannot work with the tag serializer:json

DescriptionI defined a model which has a column using the tag serializer:json. The Create runs OK. but there is an error...
上一页 下一页
.