Nineya
Home
Blog
软著申请
Gorm I have a problem with the 1.25.7 vesion.
2025-01-15 04:05:00
4936
Hello. We use the AutoMigrate() function in our project. But we have a problem with the error: "insufficient arguments"....
Gorm it alter column every times when i use datetime default value (now()) for AutoMigrate func
2025-01-15 04:04:57
484
Your QuestionThe document you expected this should be explainedit alter column every times when i use datetime default v...
Gorm Sql Server connection
2025-01-15 04:04:50
367
Your QuestionWe're trying to connect our application to sql server and we want also to be compatible with mysql and post...
Gorm skip updating created_at column while using gorm Update with associations
2025-01-15 04:04:48
2871
BackgroundWe are using gorm association as we have nested hierarchy. We are using Create() for creation of records acros...
Gorm 使用gorm生成的sql能查询到数据,但是返回的结构体里面没有数据
2025-01-15 04:04:45
3138
查询代码 // 关键字查询,服务器IP/名称/实例ID if receiver.Keywords != "" { hostDb = hostDb.Where("server_name ...
Gorm Updating associations, does not omit default (zero) values
2025-01-15 04:04:38
910
Your QuestionWhen updating with association using gorm.Session{FullSaveAssociations: true}) and .Updates() method it upd...
Gorm [BUG] strings.(*Builder).WriteByte memory leak in .FirstOrCreate with PrepareStmts: true setting
2025-01-15 04:04:36
4115
GORM Playground LinkGot no time for it, but I'll think about trying it if I have some free time.DescriptionHello there, ...
Gorm How do I get Preload with Select to work?
2025-01-15 04:04:19
5069
Your QuestionMy two types are below. I would like to return the user plus its known last latitude and longitude and noth...
Gorm Document how to use Gorm with Cloud SQL Go Connector
2025-01-15 04:04:16
2797
Currently the Gorm docs showcase how to connect to Cloud SQL using the v1 Cloud SQL Proxy. Meanwhile, there is a newer C...
Gorm Using a slice of structs in a WHERE clause
2025-01-15 04:04:14
1701
Your QuestionI'm unsure if this is a bug/feature request/I'm just using it wrong, so starting with a question. This use ...
Gorm Can control the field order when creating a table
2025-01-15 04:04:11
381
Describe the featureStruct nesting, resulting in disordered order of fields。It is hoped that the order of fields can be ...
Gorm Particular query crashes MySQL connection when talking to 5.7
2025-01-15 04:04:08
987
Hi, I just wanted to cross-post this just in case:I noticed if I run this query (designed to reproduce this issue) again...
Gorm Association replace panics
2025-01-15 04:04:05
373
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/734DescriptionWhile replacing associations using non-addr...
Gorm How to add unique constraint on combined multiple columns in gorm.
2025-01-15 04:04:03
1932
Your QuestionHow to add unique constraint on combined multiple columns in gorm.Structure Look like thistype DumyProject ...
Gorm HasMany自引用相关问题 ?
2025-01-15 04:04:00
829
Your Question我的Author有多个Movie,Movie是自引用 Movie记录Author的ID和父Movie的ID,在我尝试插入到数据库的时候遇到了这个问题错误!!Error 1452: Cannot add or upd...
Gorm [signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x7e2fda
2025-01-15 04:03:35
4128
DescriptionCode here is : tx := repo.db(ctx) if param.GroupID != 0 { tx = tx.Where(" group_id = ?"...
Gorm 自引用的结构体怎么存
2025-01-15 04:03:32
1992
type TreeNode struct {ID uint `gorm:"primaryKey"`TreeID uintLabel stringParentID *uintChildren []TreeNode `go...
Gorm Wrong table creation order causes migration failure (but not in SQLite)
2025-01-15 04:03:30
473
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/721DescriptionMigration succeed on SQLITE, but fails on o...
Gorm many2many join table creation fails when forgeignKey has check constraint
2025-01-15 04:03:28
911
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/731DescriptionWhen adding a many2many relationship betwee...
Gorm Updates支持struct列表批量更新
2025-01-15 04:03:26
143
Describe the feature当前Updates只支持struct和map参数,使用起来对于批量更新场景不方便。Updates接口支持struct列表更新,代码编写更为方便。MotivationRelated IssuesComm...
上一页
下一页
1
…
922
923
924
925
926
…
2246
.