-
比如:下面的gorm 转换sqlc如何做
```go
if len(roleApis) > 0 {
db := db.Orm.Debug().Model(&models.Api{}).
Select("system_api.id").
Joins("left join system_menu_api on system_menu_api.api = system_ap…
-
Hi bro,
I have added a limit to the cache, so you can use it for benchmarks ( v1.4.3 ) .
By default, it is set to100Mb, I did benchmarks on insert of a slice of 1 million User, it works, tell me if…
-
### Task List
- [x] Steps to reproduce provided
- [x] Stacktrace (if present) provided
- [x] Example that reproduces the problem uploaded to Github
- [x] Full description of the issue provided (…
-
**Describe the bug**
I had SCM plugin installed and configured, but it stopped to work after upgrading from Rundeck 3.x to Rundeck 5.x. When I try to re-enable it with UI, it just says:
```
Fai…
soar updated
2 months ago
-
here is my model
```
import (
"github.com/jackc/pgtype"
)
...
ClientIp pgtype.Inet `json:"client_ip" gorm:"type:inet;not null"`
...
```
I am trying to parse the ip address which…
-
已经实现:
- 第一期:模仿 gin 的 web 框架 [gee](https://geektutu.com/post/gee.html)
- 第二期:模仿 groupcache 的 分布式缓存 [geecache](https://geektutu.com/post/geecache.html)
- 第三期:模仿 gorm 的 orm 框架 [geeorm](https://geekt…
-
We should create a MySQL-compatible storage implementation. The rootsanalyzer (PR #40) currently cannot get root certificates from the rootsgetter because we have no persistent storage implementation.
-
### Task List
- [x] Steps to reproduce provided
- [x] Stacktrace (if present) provided
- [ ] Example that reproduces the problem uploaded to Github
- [x] Full description of the issue provided (…
-
## GORM Playground Link
https://github.com/go-gorm/playground/pull/659
## Description
I am developing a server application using gorm—thank you for providing such a useful ORM tool. In produc…
hmdyt updated
10 months ago
-
database should handle it's own types, this decouples the database from the exported types, any change is only done internally.
any kind of type conversion should happen outside the database.