Nineya
Home
Blog
软著申请
Gorm Sqlserver upsert with schema fail
2025-01-15 03:56:27
2445
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/665Descriptionconst ( skema = "my_schema").....
Gorm 当字段类型为tinyint(1)时,生成的数据库模型类型为bool
2025-01-15 03:56:25
663
如果将数据库类型改为int,则能正确生成为inttinyint 会生成错误类型!!!Comment From: github-actions[bot]The issue has been automatically marked as st...
Gorm Gorm v1.25.5 create two records,but get the duplicate PRIMARY KEY
2025-01-15 03:56:22
1089
DescriptionWe have a table like this:Table `MyTest` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '自增 ID', `g...
Gorm Document batch delete by providing slice of structs
2025-01-15 03:56:19
534
Describe the featureWhen doing a db.Delete and passing a slice of structs, GORM will do a batch delete of all elements i...
Gorm 更新了 1.25.7 后出现报错
2025-01-15 03:56:17
1859
更新了 1.25.7 后出现报错 2024/02/21 10:23:33 ERROR: constraint "uni_users_name" of relation "users" does not exist (SQLSTATE 42...
Gorm Create tables dynamically
2025-01-15 03:56:14
930
Describe the featureCan we create a new method which can create a new table dynamically,just lick this code:db, err := s...
Gorm Postgres Max Identifier length is 63 bytes
2025-01-15 03:56:12
5999
GORM Playground Link(no playground link)DescriptionPostgres has a max identifier length of 63 bytes. I see a test here t...
Gorm Gorm returning deleted values for no reason
2025-01-15 03:56:09
1474
I am using Gorm (Golang) and for some reason without making changes to my code, it starts returning deleted rows along ...
Gorm [Raw SQL] Named Args ORDER BY
2025-01-15 03:56:07
1108
Your QuestionI'm attempting to add a named arg for an ORDER BY, but cannot get it to work.I'm using a Postgres database ...
Gorm count在表中没有数据的时候偶现panic
2025-01-15 03:56:04
3453
Description tx := db.Begin() defer tx.Commit() var total int32 if err := tx.Table(constant.Tbl).Where(qu...
Gorm Unable to insert geography point value in postgres.
2025-01-15 03:56:01
2804
What version of Go are you using (go version)?go version go1.14 linux/amd64Which database and its version are you using?...
Gorm How to soft delete from many2many associations table?
2025-01-15 03:55:58
4777
Your QuestionI'd like to soft-delete instead of hard-delete records in a custom many2many custom associations table so t...
Gorm Unexpected Unscoped behavior
2025-01-15 03:55:56
1138
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/697DescriptionI would like to hard delete if the flag is ...
Gorm Prepared statement contains too many placeholders
2025-01-15 03:55:53
1668
在使用IN查询的时候,对应的切片的数量占用了累加到使用占位符的数量CREATE TABLE `codes` ( `id` int unsigned NOT NULL AUTO_INCREMENT , `code` varchar(50)...
Gorm Should association with uniqueIndex work?
2025-01-15 03:55:50
672
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/690DescriptionRan into a similar issue and reproduced it ...
Gorm Broken SQL generation after v.1.25.6/7 (nested Where?)
2025-01-15 03:55:48
7707
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/689DescriptionIt looks like something in v.1.25.6 changed...
Gorm Pluck panics in a busy connection and canceled context
2025-01-15 03:55:45
690
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/694DescriptionPluck panics in a busy connection and cance...
Gorm Index out of range exception
2025-01-15 03:55:43
6279
GORM Playground LinkSorry this is an EMPTY REPO, but I can't reliably reproduce this error, so there's no way for me to ...
Gorm query with where panic
2025-01-15 03:55:40
1687
Your QuestionIt's a probabilistic problem, and it's only happened once. When the query statement "where" is executed, th...
Gorm ErrUnsupportedDataType
2025-01-15 03:55:38
2685
What version of Go are you using (go version)?go version go1.13.10 linux/amd64Which database and its version are you usi...
上一页
下一页
1
…
929
930
931
932
933
…
2246
.