-
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the…
-
when i use to udpate a table called users it using the db.save(&user{}) it generate incorrect sql command for postgres sql which contain two users statement.
2024/11/01 20:52:57 .../models/userMo…
-
A sql like "select 'http://127.0.0.1?name=aaa' as url, name from test t where name = @name" which has "?" will lead to an error: `sql: converting argument $1 type: unsupported type map[string]interfa…
-
my table has a poi_info column,that type is varchar ,i save a json string into this column
this is the string:
`
{ "locationCode": "A4-201\\202\\206"}
`
when i use ToSQL func, it give me SQL li…
-
Dynamic struct autoIncrement ID problem in Create error '@id' field does not exist, statically compiled struct does not have this problem. As a temporary solution, the gorm tag is set autoIncrement:fa…
-
## GORM Playground Link
https://github.com/go-gorm/playground/pull/1
## Description
![image](https://github.com/user-attachments/assets/124ac0f4-2116-4648-b0a6-c485c15005ca)
-
## Description
I use the "gen" to generate the code about accessing to the database.
But when execute the "gen", problem occurred:
```
pkg/mod/gorm.io/plugin/dbresolver@v1.5.0/dbresolver.go:…
-
### Describe the feature or problem you’d like to solve
I have a situation where my product is split into multiple different repositories and part of our release process includes making pull reques…
-
**Release Date**:
11th November 2024
## Release Activities
### At the beginning of the cycle
- [x] Obtain the Release coordinator's contact from the `@k6-browser` team and co-assign the issue to t…
-
## Description
Unexpected behavior from `Save`
### Code: case 1
```
result := Db.Save(&services[i])
if result.Error != nil {
fmt.Println("Error:", result.Error)
return
}
```
### …