Nineya
Home
Blog
软著申请
Gorm Allow for inner or right join in Join preloading
2025-01-14 08:32:24
3888
Describe the featureWould like to be able to specify a Join type / direction when using Joins Preloading. MotivationCurr...
Gorm gorm 如何指定使用 postgres 中 schema 下的 table
2025-01-14 08:32:21
640
默认 gorm 是使用 db 下的 table,那如何使用 db 下 schema 中的 table 呢?Comment From: github-actions[bot]The issue has been automatically m...
Gorm tag uniqueIndex always cause a field migration
2025-01-14 08:32:19
1336
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1Descriptioncode to repofunc main() { mc := mysql.Conf...
Gorm the output of .Debug() for UUID binary(16)
2025-01-14 08:32:16
284
I use MySql binary(16) to store UUID generated from google uuid pkg. When under '.Debug()' mode, like db.Debug().Create(...
Gorm the output of .Debug() for UUID binary(16)
2025-01-14 08:32:14
704
GORM Playground Link', but some uuid will be output as '%5ČA\ufffd@\"\ufffd4\ufffd q! \ufffd' which is invalid UTF-8.Com...
Gorm sqlserver 查询出的guid 与数据库中的guid存在字节顺序不对的问题
2025-01-14 08:32:12
1454
这是我的字段定义type StationInfo struct { Id uuid.UUID gorm:"column:id;type:char(36)" Name string gorm:"column:name" ...
Gorm 关于自定义表名函数 tablename() 问题
2025-01-14 08:32:09
871
现在的 tablename() 设置的自定义表名,是在设置了全局前缀表名之后覆盖的表名。如果我想用前缀和自定义表明,那就只能把前缀也放到 tablename() 函数里才行。像其他的 orm 是会在获取到自定义表名后再加上全局的自定义前缀。...
Gorm How to get a map[string]string of Structure/Model Fields and DB Columns?
2025-01-14 08:32:06
3423
HiIn this issue we see https://github.com/go-gorm/gorm/issues/4497 that we are receiving only the DB Columns, but to get...
Gorm why GORM perform single create, update, delete operations in transactions by default ?
2025-01-14 08:32:04
1546
Your Questionwhy gorm perform single create, update, delete operations in transactions by default ? a single sql really...
Gorm Fields of custom types are automatically ignored when using the model's migration function
2025-01-14 08:32:01
1600
自定义的类型,定义如下type Datetime time.Time````下面是模型中属性的定义```goCreateTime common.Datetime `json:"createTime" gorm...
Gorm How to create a foreign key to constraint multiple columns
2025-01-14 08:31:58
583
Your QuestionHow to create a foreign key to constraint multiple columns ? As SQL:CONSTRAINT "college" FOREIGN KEY ("coll...
Gorm gorm 添加外键和引用 就不能 自动迁移(迁移就报错)
2025-01-14 08:31:56
2025
报错如下: define a valid foreign key for relations or implement the Valuer/Scanner interfaceComment From: github-actions[bot...
Gorm gorm使用,连接db报错
2025-01-14 08:31:51
10741
[mysql] 2018/03/30 11:27:22 packets.go:36: unexpected EOF[mysql] 2018/03/30 11:27:22 connection.go:311: invalid connecti...
Gorm bug ??
2025-01-14 08:31:48
2297
GORM Playground Linkmodule gorm-testgo 1.19require ( github.com/go-sql-driver/mysql v1.7.0 // indirect github.com/...
Gorm Cannot add several OnConflict clauses
2025-01-14 08:31:40
2683
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/559DescriptionSQLite supports multiple OnConflict clauses...
Gorm Seach data error when use goroutine
2025-01-14 08:31:38
1351
There is no problem in general use, but when I create a query containing uuid in goroutine, the returned value will be w...
Gorm Is there a better way to handle the 'database is locked' in SQLite?
2025-01-14 08:31:35
2294
Is there a better way to handle the 'database is locked' in SQLite?The SQLite is unsupported concurrent and only allows ...
Gorm Read date as []uint8
2025-01-14 08:31:33
936
GORM Read Date as []uint8The document you expected this should be explainedHello, i am currently using GORM with mysql ...
Gorm AutoMigrate fails when database has views or rules
2025-01-14 08:31:30
320
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/558DescriptionIf views were created using columns of an e...
Gorm gorm automigrator fails with postgres when a view exists despite no updates to struct in migration
2025-01-14 08:31:27
1618
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/508DescriptionScenario:Migrate table (Make sure the struc...
上一页
下一页
1
…
965
966
967
968
969
…
2246
.