Gorm row value misused | sqlite | gorm | gin

"row value misused" from sqlite/gormI want to relate a model to another modelLike this1. Quiz||----- Question______Quest...

Gorm 使用V2出现的问题

这是我的 modeltype TenantDataSource struct { Db *gorm.DB json:"-" AutoID int gorm:"primary_...

Gorm Association mode create

Your QuestionI have 2 structs: Aa struct has many B structs.I want to create multiple B records by using association mod...

Gorm Bug: self-referential has-one does not create foreign key

https://github.com/go-gorm/playground/pull/322In the existing playground models the user foreign key (manager_id) gets c...

Gorm How to create a database?

Your QuestionThe document you expected this should be explainedExpected answer

Gorm Add ability to add associations to update on save instead of only omitting them

Describe the featurePlease excuse me if this has been discussed before...Currently it seems like you can only omit Assoc...

Gorm Right way to query with multiple conditions

Is the below code correct?gormDBObject.Where("uuid = ? and parent_organization_id is not NULL", requestObj.ChildOrganiza...

Gorm left join use alias

oar left join ad_ocean_advertiser oc on oar.advertiser_id=oc.advertiser_id WHERE ad_ocean_advertiser_report.deleted_at I...

Gorm PostgreSQL RLS (Row level security)

I'm reading about RLS (Row level security) because I wanna write less application logic in my services.https://cazzer.me...

Gorm give a choice tag use

Describe the featurethis feature comes from the django orm,when i want made a model that have col of several choices,i ...

Gorm I'm wondering why I'm getting an invalid transaction error.

Your Questiongorm version v1.25.2We are experiencing an invalid transaction error since version v1.25.2.When we created ...

Gorm Test: Complementary unit tests for new features

Describe the featureWe need to add more unit tests for new featuresMotivationWe have added some new features in recent v...

Gorm SQL becomes strange after using db.Model

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/632DescriptionGroup conditions is not working as expected...

Gorm many2many Update更新重复创建

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1Descriptiontype CmeQuestion struct { Id ...

Gorm many2many的clear方法无法批量操作

Describe the feature无论是select delete还是associate clear方法都无法实现这种效果db.Model(schema).Where("id in ?", pks).Association("XXX"...

Gorm 想要使用关联关系的时候 right join 怎么操作呀????

想要使用关联关系的时候 right join 怎么操作呀type Card struct { Id int `json:"id,omitempty" gorm:"co...

Gorm 国内文档站太慢了,分钟级的了

Your QuestionThe document you expected this should be explainedExpected answerComment From: jinzhuuse gorm.cnComment Fro...

Gorm how enable optimizer trace

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

Gorm read: connection timed out

Your Questiongorm.io/gorm v1.21.10 ,Postgresql,read tcp sourceIP:12480->targetIP:5432: read: connection timed out,Thi...

Gorm how to solve tsl problem

failed to initialize database, got error TLS Handshake failed: cannot read handshake packet: read tcp 172.16.1.79:40338-...
上一页 下一页
.