Nineya
Home
Blog
软著申请
Gorm Soft Cascade Delete
2025-01-14 17:01:03
4304
Does gorm have soft cascade delete function? I read Gorm's documentation and tried several methods, but none was success...
Gorm How to set charset for a new PostgreSQL database?
2025-01-14 17:01:01
576
Your QuestionHow to set charset (encoding) for a new PostgreSQL database?The document you expected this should be explai...
Gorm Sort has_many items
2025-01-14 17:00:58
737
Is there a way to sort the items in a has-many-association?I have one model A that has many of B (fields: a, b, sort) an...
Gorm Unknown prepared statement handler (401) given to mysqld_stmt_execute
2025-01-14 17:00:56
862
Your QuestionUnknown prepared statement handler (401) given to mysqld_stmt_execute . func UserGet(where string, args .....
Gorm built-in seeding functionality
2025-01-14 17:00:53
1639
Describe the featureI am proposing that Gorm has a built in Seeding method so that developers can quickly seed databases...
Gorm Querying database tables and columns is wrong
2025-01-14 17:00:50
2775
Your QuestionI have two tablestype PayLog struct { ID int `json:"id" gorm:"column:id...
Gorm Migrator on distributed table Clickhouse driver ignore create index
2025-01-14 17:00:48
462
Describe the featureMigrator on distributed table Clickhouse driver ignore create indexMotivationI use clickhouse driver...
Gorm Unit testing with go-sqlmock
2025-01-14 17:00:45
1068
Your QuestionHi, I wanted to know what the best strategy to write unit tests with GORM. I've read a couple different str...
Gorm How to make Postgres "SELECT DISTINCT ON" query using gorm sql builder?
2025-01-14 17:00:42
1167
Your QuestionIs it possible build "SELECT DISTINCT ON" query using sql builder? The document you expected this should be...
Gorm Preload as deep as necessary
2025-01-14 17:00:38
3938
I'm using Gorm and have some questions as to how to retrieve nested SubComments from the model. The problem I'm getting ...
Gorm Provides friendlier errors for finisher api
2025-01-14 17:00:36
962
Describe the featureProvide more friendly errors for those finisher api that need to modify the passed parameters.Motiva...
Gorm Feature request: AutoMigration support for postgres composite types
2025-01-14 17:00:33
1449
Describe the featureAllow for an AutoMigrateType function, that can take a struct and translate it to a composite type.C...
Gorm PostgreSQL "infinity" value for float is
2025-01-14 17:00:30
381
Describe the featurePosgreSQL "infinity" for Numeric datatypeMotivationA Numeric field on my database was marked as "inf...
Gorm can we make an error code like ErrRecordNotFound not arrays as well.
2025-01-14 17:00:28
518
Describe the featureJust like ErrRecordNotFound works for "First" queries, can we make it work for "Find" queries as wel...
Gorm Using unscoped when hard deleting an association or appending does not work as expected.
2025-01-14 17:00:25
2175
GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionGorm version: 1.25.2Hello there, I cannot mak...
Gorm Fields with "read-only" permissions / ignore when write
2025-01-14 17:00:22
1789
Describe the featureI'd love to have a "read-only" fields, i.e. such that are ignored during migration and during writes...
Gorm Polymorphic: find Owner
2025-01-14 17:00:20
1017
Your Questiontype Cat struct { Id int Name string Toy Toy gorm:"polymorphic:Owner;"}type Dog struct { Id ...
Gorm some suggestions
2025-01-14 17:00:17
366
db.Updates do not support custom type of map[string]interface{}db.Callback().Raw do not support db.RawThe document you e...
Gorm What is the purpouse of gorm.ScanOnConflictDoNothing?
2025-01-14 17:00:15
1182
Your QuestionHi Jinzhu,i have a quick technical question for you about the gorm.ScanOnConflictDoNothing mode on the sqls...
Gorm Should I explicitly create a relation symmetrical to "Belongs To" or "Has Many"?
2025-01-14 17:00:06
1488
(Initially asked in SO - I will synchronize answers if any)Your QuestionI am new to ORM (and GORM) so apologies if this ...
上一页
下一页
1
…
947
948
949
950
951
…
2246
.