Gorm psql "search_path" parameter does not take effect

In this case, the specified search_path does not take effect.dsn := "host=x.x user=xxx password=xxx dbname=xxx port=5432...

Gorm Upexpected transaction behavior in race condition

Unexpected transaction behaviour in race conditionIn the following code, - routine1 first locks the record using "FOR U...

Gorm 59640 这个参数是有什么问题吗?

sql命令行执行也是很快 就是传参数很慢Comment From: github-actions[bot]The issue has been automatically marked as stale as it missing play...

Gorm gorm cannot reuse connection before created

When I use gorm v2, I find that the connection life of v2 seems to be only 1 second, and when a connection is not used f...

Gorm SECURITY ISSUE: all-zero UUID in Where with struct leads to Where clause being omitted

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/661Descriptiona UUID that is Nil (= 00000000-0000-0000-00...

Gorm sqlx和Gorm相比,sqlx性能更好一点,使用Gorm仅仅是为了预防sql注入嘛

通过查看这个文章得到的问题:https://cloud.tencent.com/developer/article/2056863Comment From: github-actions[bot]The issue has been aut...

Gorm 我在阅读一篇文章后知道,sqlx在性能上高于gorm,那使用gorm仅仅是为了避免sql注入嘛

Your Question文章链接* https://cloud.tencent.com/developer/article/2056863The document you expected this should be explained...

Gorm Preload not working as expected

Your QuestionWhen using Preload the behavior is extremely strangedb.Model(models.Member{}).Preload("Organization&qu...

Gorm Does gorm has support for Google Bigquery ?

Like all the relational DB support does gorm supports handling bigquery queries ? Comment From: github-actions[bot]The i...

Gorm Slow concurrent (simple) requests

Hey, I'm looking for concurrently calling a PostgreSQL database.Each request is really simple, and is fast to execute (i...

Gorm Plugin transaction callbacks and transaction scoped variables

Describe the featureTransaction callbacks for plugins. I'd like to implement a Plugin that can create revision records f...

Gorm 使用FIrst、Last等方法的同时使用As设置表别名时出现错误

//AS结合First方法查询错误示例1:使用AS 后打印的sql:order by 后面 没有使用别名 导致sql执行异常//SELECT * FROM `ppb_customer` AS `c` WHERE `c`.`isvalid` ...

Gorm Bug in array unpacking in PostgreSQL

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/1DescriptionConsider the following query:arrValue := []st...

Gorm Serialize a field into multiple database columns

Describe the featureI have a Go struct with a field that I'd like to be serialized into multiple database columns for ef...

Gorm Default eager loading for specified columns

Describe the featureIt would be nice to be able to always eager load a specific column, i.e. like this:type Wardrobe str...

Gorm Inconsistent Behavior with Nested Transactions Depending on Parent Context

GORM Playground Linkhttps://github.com/go-gorm/playground/pull/659DescriptionI am developing a server application using ...

Gorm Is it possible to use many to many between 3 models?

Is it possible to use many to many between 3 models?I have 3 models I want to join into a bridge table. The bridge table...

Gorm Sqlite3 not threadsave when db is in memory

Go Version: 1.13Database: sqlite3 :memory:Accessing a sqlite memory database concurrently gives strange results. (no suc...

Gorm Can not use .Updates with BeforeSave() or BeforeUpdate()

GORM Playground Linkhttps://go.dev/play/p/ashUeuv9yBrDescriptionHi, I have seen some similar issues, but not convinced a...

Gorm When deleting a model along with its associations, also delete the associations' associations.

Describe the featureThis feature would be able to delete an object, its related objects, and its related objects' relate...
上一页 下一页
.