Nineya
Home
Blog
软著申请
Gorm Use *DB.Raw(sql string, values ...interface{}) method directly occur Error 1040: Too many connections
2025-01-15 03:57:45
1907
Use *DB.Raw(sql string, values ...interface{}) method directly occur Error 1040: Too many connectionsgorm v1.25.1dsn := ...
Gorm Error "NamingStrategy does not implement schema.Namer (missing method UniqueName)" after upgrade 1.25.5 -> 1.25.7
2025-01-15 03:57:42
2484
DescriptionAfter 1.25.5 -> 1.25.7 upgrade error is throwncannot use namingStrategy (variable of type NamingStrategy) ...
Gorm Why Open support multi Option but only apply the last one after sort?
2025-01-15 03:57:40
864
Your QuestionI was wondering why Open(dialector Dialector, opts ...Option) support multi Option and sort it but only the...
Gorm POSTGRES How to check if error type is DUPLICATE KEY
2025-01-15 03:57:38
9573
@jinzhu OLD Ticket: https://github.com/go-gorm/gorm/issues/4037I did not find any solution for postgres yet. I searched ...
Gorm Simplify relation mapping between tables
2025-01-15 03:57:21
1280
Describe the featureWould please simplify the relation mapping between tables like SqlAlchemy. for example:class Collect...
Gorm Use *DB.Row(sql string, values ...interface{}) method directly occur Error 1040: Too many connections
2025-01-15 03:57:19
1442
gorm v1.25.1dsn := "root:xxx@tcp(127.0.0.1:3306)/xxx?charset=utf8mb4&parseTime=True&loc=Local"gormDb, ...
Gorm PostgreSQL inet data type support
2025-01-15 03:57:17
1136
Your QuestionError for PostgreSQL inet format parsingSince pgx migrate to v5 It doesn't provide pgtype.Inet anymore and ...
Gorm How to create an unlogged table in postgresql using GORM?
2025-01-15 03:57:15
402
Your QuestionHow to create an unlogged table in postgresql using GORM?The expected SQL is:CREATE UNLOGGED TABLE <tabl...
Gorm How to create association with embedded struct used?
2025-01-15 03:57:12
1047
Your QuestionGorm will not create foreign key if the relation field is embeddedtype TestA struct { ID uint `gorm:&q...
Gorm db.Not method when used with multiple Where conditions has changed unexpectedly
2025-01-15 03:57:09
712
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/695https://github.com/go-gorm/playground/pull/696Descript...
Gorm How force primary key to int4 (PostgreSQL) ?
2025-01-15 03:57:07
1297
Your QuestionHow force primary key to int4 with PostgreSQL ?All Golang types are reported to int8 (bigint) : - uint - in...
Gorm Can't use preload when number of parameters exceeds 65535
2025-01-15 03:57:05
3802
Your QuestionHello everybody. I'm facing the same problem described in this issue and I would be very grateful if anyone...
Gorm Updates not working when a column type is int and be set to zero
2025-01-15 03:57:02
3405
GORM Playground LinkDescriptionHere is the test codeCREATE TABLE `test_table` ( `id` int(10) unsigned NOT NULL AUTO_INC...
Gorm [Feature Request] Support UNIX Socks
2025-01-15 03:56:55
526
Describe the featureUnix Sock support, such as /var/run/mysqld/mysqld.sock.MotivationSupport would enable a shared sock ...
Gorm Save Error! UNIQUE constraint failed: user_infos.id
2025-01-15 03:56:52
711
here is my model i update userinfo at here and i alreay have a row in my databasehowever : gorm use insert .... not up...
Gorm Skip creating relation records with primary keys
2025-01-15 03:56:41
906
Describe the featureSkip creating relation records with primary keys, for example:var languages = map[string]*Language{ ...
Gorm same model to create multiple tables,how to create index
2025-01-15 03:56:38
594
Your QuestionI used the same model to create multiple tables, but the indexes of these tables were not established prope...
Gorm How to perform dynamic conditional queries with custom SQL?
2025-01-15 03:56:34
336
Your QuestionHow to perform dynamic conditional queries with custom SQL?The document you expected this should be explain...
Gorm Associations, SqlService and String Ids don't work together
2025-01-15 03:56:32
194
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/693DescriptionAssociations don't work when using a String...
Gorm Gorm Preload Condition Question
2025-01-15 03:56:30
1544
I have the following structs declared:type Permissions struct { gorm.Model Admin bool Manager bool}type Crede...
上一页
下一页
1
…
928
929
930
931
932
…
2246
.