Nineya
Home
Blog
软著申请
Gorm [MySQL] TIMESTAMP NULL DEFAULT NULL 类型无法使用 gorm tag 创建
2025-01-15 04:23:15
1158
Your Question目标表结构CREATE TABLE `test` ( `id` INT ( 11 ) AUTO_INCREMENT NOT NULL, `name` VARCHAR ( 20 ) NULL DEFAUL...
Gorm Rollback logic error in "func (db *DB) Transaction"
2025-01-15 04:23:13
2772
GORM Playground LinkReference issue - playground link to followDescriptionIn finisher_api.go: 644 defer func() { ...
Gorm 单独where引起的查询bug
2025-01-15 04:23:11
740
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/777Description第二个First没有查询toys表func TestGORM(t *testing.T...
Gorm about time.Time question
2025-01-15 04:23:08
2225
Your Questiontype Remind struct { ID uint `gorm:"column:id;primaryKey;autoIncrement" json:"i...
Gorm Feature: Support GORM elasticsearch driver?
2025-01-15 04:23:05
673
Describe the featureSupport GORM elasticsearch driver?like:* https://github.com/go-gorm/clickhouse* https://github.com/g...
Gorm ScyllaDB support
2025-01-15 04:23:03
693
Describe the featureIt could be really nice if there were a driver for ScyllaDBMotivationRight now I'm using postgres bu...
Gorm Support for SurrealDB
2025-01-15 04:23:00
474
Describe the featureWe need support for SurrealDBMotivationSurrealDB (https://surrealdb.com) is an emerging DB in NewSql...
Gorm Add YDB support
2025-01-15 04:22:57
804
Describe the featureAdd support for YDBYDB is a versatile open source Distributed SQL Database that combines high availa...
Gorm Support libsql/Turso
2025-01-15 04:22:54
5479
Describe the featureUnless I am mistaken, Gorm does not support a network connected SQLite database, specifically libsql...
Gorm Support for SurrealDB
2025-01-15 04:22:52
470
Describe the featureSupport for SurrealDBMotivationSurrealDB is becoming popular in NewSQL paradigm hence favorite SDK l...
Gorm Gorm callbacks using raw() or native query not worked
2025-01-15 04:22:49
2645
My Code`package main import ( "context" "fmt" "gorm.io/driver/postgres" "gorm.io/gorm" "log" ...
Gorm Association Deletion is not working as expected.
2025-01-15 04:22:46
1925
Your QuestionI have models as follows, type MuscleGroup struct { gorm.Model // Embedding gorm.Model Muscle...
Gorm 使用 save 更新已有数据为什么需要传 created_at ? 做成在 更新时忽略 created_at 会不会更好一些
2025-01-15 04:22:44
811
Comment From: hhstu尝试使用以下方法:CreatedAt time.Time `json:"created_at" gorm:"<-:create"`这会导致用 sa...
Gorm Order func accept interface{} type but it not order and not error when the value is not an expected type. so why not change it or add a new func.
2025-01-15 04:22:42
1308
Describe the featureThe order func is this:func (db *DB) Order(value interface{}) (tx *DB) { tx = db.getInstance() ...
Gorm How to preload in many to many with the condition
2025-01-15 04:22:40
2861
Your Questionlet me explain the problem with an examplei have user and course in many to many relationship. every user c...
Gorm Can i filter preload inside children?
2025-01-15 04:22:37
1782
Your QuestionCan i filter preload inside children ?My Modeltype MasterLayanan struct { ID int ...
Gorm Remove double quotes from generated SQL to support lowercase table and column names
2025-01-15 04:22:34
1256
I have a feature request regarding the SQL generated by GORM. Currently, GORM encloses table and column names in double ...
Gorm GORM connects to "postgres" db instead of explicitly specified
2025-01-15 04:22:32
2416
Your Questionfunc Connect(cfg *Config) (db *gorm.DB, err error) { dsn := fmt.Sprintf( "host=%s user=%s pa...
Gorm Select Joins combined with same 'where' conditions twice when called 'Scan' more than two times
2025-01-15 04:22:29
2916
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/442DescriptionWhen I tried to get parent and its child by...
Gorm Bulk & Nested firstOrCreate With Association
2025-01-15 04:22:26
3695
Your QuestionHi there! I'm working on optimizing a worker that is responsible for importing records into the DB from an ...
上一页
下一页
1
…
904
905
906
907
908
…
2246
.