-
The rewrite of this project uses GORM for database interactions. Unfortunately, after using it for a bit on subsequent PRs, most of us really don't like it. Since it is still early enough to rip out, …
-
Find an ORM to use, maybe Prisma Go, maybe G-ORM
-
# Problem
Hello first of all thanks for the great library! it is really useful
Im using faker to seed my local database and i want to generate 10k elements the issue is if i use fakers default m…
-
Any plans to update for use with [GORM V2](https://gorm.io/docs/v2_release_note.html)? The [Open](https://gorm.io/docs/v2_release_note.html#Quick-Start) function has a bit different usage than V1.
-
## Your Question
参考: [Group By & Having](https://gorm.io/zh_CN/gen/query.html#Group-By-amp-Having)
使用 `group by Having Sum` 表达时,怎么设置 `sum` 的条件
```go
o.WithContext(ctx).Select(o.C…
-
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
This repository currently has no…
-
* **Version**: 1.10.4 (and order)
* **Platform**: Linux super-dev 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
* **Subsystem**: server
## What happened
Ou…
-
migrations
```
CREATE TABLE IF NOT EXISTS merchant (
id SERIAL NOT NULL UNIQUE,
bms_whitelist INET[] NOT NULL,
api_whitelist INET[] NOT NULL,
);
```
code
```
type Merchant struct{…
-
-
A bug in passing array to Where() func, as shown in the following example:
var a []string{"str1","str2","str3"}
db.Where("id IN (?)", a)
It will be converted into the following SQL: "where id IN ('…