-
## GORM Playground Link
1. Cloned the repository
2. Ran the ./test.sh
```bash
$ ./test.sh
git clone --depth 1 -b master https://github.com/go-gorm/gorm.git
Cloning into 'gorm'...
remote: E…
-
- [x] I have checked the existing issues to avoid duplicates
- [x] I have redacted any info hashes and content metadata from any logs or screenshots attached to this issue
### Describe the bug…
-
## Your Question
I've encountered a situation where I need to accurately detect the connection status of a database using GORM. Additionally, I have an implementation for graceful shutdown with a…
-
### Search before asking
- [X] I had searched in the [issues](https://github.com/deepflowio/deepflow/issues?q=is%3Aissue) and found no similar feature requirement.
### DeepFlow Component
Server
#…
-
## Issue:
Two indices created when using syntax `uniqueIndex:custom_index_name`
## Expected result
Using the uniqueIndex with a custom name for the index creates just one unique index with the…
-
## Describe the feature
1. 假设要自定义排序。
```
q.ReplaceDB(q.UnderlyingDB().Clauses(clause.OrderBy{
Expression: clause.Expr{SQL: "? ASC NULLS FIRST", Vars: []any{someTable.SomeColumn}},
}))
```
这样…
-
```
设置了全局默认设置
carbon.SetDefault(carbon.Default{
Layout: carbon.DateTimeLayout,
Timezone: carbon.UTC,
WeekStartsAt: carbon.Monday,
Locale: "zh-CN",
})
结构体声明
type YHX…
-
## GORM Playground Link
https://github.com/go-gorm/playground/pull/1
## Description
具体 描述查看:https://github.com/go-gorm/sqlserver/issues/138
-
## GORM Playground Link
https://github.com/go-gorm/playground/pull/1
## Description
DDL如下:
```SQL
CREATE TABLE `account` (
`id` int NOT NULL AUTO_INCREMENT,
`account` varchar(…
-
# Summary
In `go-gorm/sqlite`, composite primary keys (i.e., tables with more than one primary key) are not detected correctly. The library recognizes only the first key, failing to mark the other …