Gorm Rationale for the DryRun guard on callbacks.RowQuery

Your QuestionTL;DR: can you tell me why callbacks.RowQuery is not supported in dry run mode? Is there a possibility (I'...

Gorm feature: add Chinese README.md

add Chinese README.mdRecently, a lot of problems have been solved in Issues | 我最近在Issues中解决了很多问题And the questions that n...

Gorm AutoMigrate will not update changed default value for primary keys

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/716DescriptionI recently changed all of my tables to use ...

Gorm one to many with subquery join does not scan to parent struct

One to many with subquery join does not get scanned to the parent structtype Chat struct { ID string ...

Gorm Insert record with ID assigned doesn't commit the sequence value

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/718DescriptionIf you create an entity with primary ID ass...

Gorm Update multiple rows with different values in one query in postgres

How to write below query in posrgres using GORM? Can some one help on this?I don't see any documation in gorm for this t...

Gorm GetIndexes not implemented

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/720DescriptionHelloGetIndexes method on Migrator() always...

Gorm Why does db.RowsAffected return 0 after the data is updated?

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionAfter successfully updating data using Update...

Gorm How to build update from (values ...) ?

How can I use bulk update with FROM(values ...)?i have a query: UPDATE events AS e SET status = $1, ...

Gorm COPY FROM STDIN (postgresql)

Describe the featureimport bigdata from files using STDINMotivationDatabase usually located in docker container. I have ...

Gorm Add derived column along with default fields

Describe the featureBeing able to add a derived column along with the default ones generated by Model or Dest (and joine...

Gorm More efficient preloading

Your Questioni'm using the v1 of the library , and i wonder if i'm using eager loading through a preload function like ...

Gorm About the many-to-many relationship doc. The example is not detailed.

Your QuestionMy question is about how to customize jointable.The example shown in doc is type Person struct { ID ...

Gorm How to add extra column(s) to self referencing many-to-many relationship?

Your QuestionI have a users table which has a field friends which is a self-referencing many-to-many relationship.type U...

Gorm Correlate BelongTo

Your QuestionConsider we have a Group model, and Group model has UserId and User model has GroupId and UserId too. How c...

Gorm Add support for SQLCommenter

Describe the featureSupport for the SQLCommenter tagging system, used by Query Insights on Google Cloud SQL.MotivationWe...

Gorm ID Primary Key of type string does not return value on DB.Create()

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/713Descriptiontype Sample struct {ID string ``gorm:"s...

Gorm Multiple Records Query:index out of range [0] with length 0

Your QuestionSo I have a model,below:type Conversation struct { ConversationId string `gorm:"primaryKey"` ...

Gorm GORM无法操作数据库的视图,无法想映射Molde一样映射一个Struct类型来操作数据库创建的视图结构,并进行CRUD!拜托!这么重要的功能都没有!

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1Description因为查询的数据量很多设计到多张表,而是我创建了View视图在数据库中方便查询,谁知道GOR...

Gorm The case when syntax of mssql is not supported

All came back emptyComment From: github-actions[bot]The issue has been automatically marked as stale as it missing playg...
上一页 下一页
.