Nineya
Home
Blog
软著申请
Gorm Inconsistent results were detected using the same SQL
2025-01-14 08:17:19
3868
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/505Test Datastart_time,end_time,id2022-06-24 10:18:03,202...
Gorm Add unique index using migrator
2025-01-14 08:17:12
543
Your QuestionI am having the same Issue as in https://github.com/go-gorm/gorm/issues/3973. I undestand it would be a bre...
Gorm Automigration does not appear to handle embedded gorm models
2025-01-14 08:17:09
1416
GORM Playground Linkhttps://go.dev/play/p/H0kaUoRuJehDescriptionHas-many relationships appear to require explicit defini...
Gorm 哪位大佬实现一下这个自增id的pr吧
2025-01-14 08:17:07
8309
自增id migrate出问题实在没时间来实现,涉及到mysql跟postgreshttps://github.com/go-gorm/gorm/pull/5452Comment From: github-actions[bot]The i...
Gorm 用原生查询,怎么获取插入的主键?
2025-01-14 08:17:04
709
LastInsertId没有了,怎么办Comment From: github-actions[bot]The issue has been automatically marked as stale as it missing playg...
Gorm How to specify the initial START value in a pg sequence for a custom primary key?
2025-01-14 08:17:01
2663
What version of Go are you using (go version)?1.9Which database and its version are you using?pg 9.5.3I would like to be...
Gorm Is this reasonable? Statement.AddVar generate sql with extra parentheses
2025-01-14 08:16:59
293
Your Questionvar exists boolsql = SELECT EXISTS(SELECT * FROM table WHERE aid = ? LIMIT 1)err := db.Raw(sql, 123456).Row...
Gorm failed to parse '1' as default value for uint, got error: strconv.ParseUint: parsing "'1'": invalid syntax
2025-01-14 08:16:57
3152
Structure to set the default character type, but the actual field type is an integer. Query and creation errors are repo...
Gorm Automigrate is updating updated_at timestamp, is this normal behavior?
2025-01-14 08:16:54
177
Automigration updates updated_at column of tables containing column(s) of []text type and only if the row has non-null v...
Gorm Effective selection of entity with many-to-many relation
2025-01-14 08:16:52
3624
Many To Many selectHi. I have second entities:type Note struct { ID uuid.UUID `gorm:"primaryKey;type:uuid...
Gorm How to use 'SET SESSION group_concat_max_len=2000'
2025-01-14 08:16:50
140
I want to change group_concat_max_len in the sessionComment From: li-jin-gouhttps://gorm.io/docs/sql_builder.html#Connec...
Gorm V1.23.x AutoMigrate Bug(first ok, but when run more than once, will fire error).
2025-01-14 08:16:47
4055
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/451Descriptionin the gorm version 1.23.x, first AutoMigra...
Gorm How to insert field in custom join table ?
2025-01-14 08:16:44
2874
Your QuestionHi, there I have following models accounts, class_members and classes.Business logic if student (account ha...
Gorm Migration exception
2025-01-14 08:16:39
2256
import ( "gorm.io/driver/mysql" "gorm.io/gorm")type XnAddress struct { ID int64 `gorm:&...
Gorm Find() uses values from the previous row in 1.23.6
2025-01-14 08:16:37
528
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/485DescriptionIt looks like DB.Model().Find() use values ...
Gorm Are inet / cidr types of supported in GORM?
2025-01-14 08:16:34
4389
Since GORM v2 has switched to pgx, which has inet/cidr support.If yes, what's the proper way to use it?Tried something l...
Gorm sql syntax error
2025-01-14 08:16:31
2714
gorm version:v1.23.8database:Mysqltable structureWhen I use gorm, the following sql statement is generated, it cannot be...
Gorm many2many重复创建
2025-01-14 08:16:28
697
many2many会被重复创建,使用的是v1.23.8版本Comment From: github-actions[bot]The issue has been automatically marked as stale as it mis...
Gorm Query taking longer time than usual.
2025-01-14 08:16:25
2876
Query taking longer time than usual.Hi I am using mentioned function to connect database using gorm, instrumented with a...
Gorm Insert sql with MySQL Geometry Type in gorm client throws error,but MySQL native client success run
2025-01-14 08:16:17
4126
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/501https://github.com/go-gorm/playground/pull/1Descriptio...
上一页
下一页
1
…
980
981
982
983
984
…
2246
.