mysql icon indicating copy to clipboard operation
mysql copied to clipboard

GORM mysql driver

Results 18 mysql issues
Sort by recently updated
recently updated
newest added

## Clause.(clause.Returning{}) dosen't active in a delete opertaion **Version: gorm 1.23.8 and golang 1.18.3** Sorry for my poor English... I try to use Clause.(clause.Returning{}) to returning the obj which has...

type:question

- [] Do only one thing - [] Non breaking API changes - [] Tested ### What did this pull request do? I add MaxIdle/MaxOpen/MaxLifeTime/MaxIdleTime param to `Config` struct. And...

## GORM Playground Link https://github.com/go-gorm/playground/pull/410 ## Description want add datetime col with default value 'current_timestamp', but got error "Failed to auto migrate, but got error Error 1067: Invalid default value...

I came across the following bug. Sorry for skipping the playground, but the following code should be sufficient for reproducing the bug. * **Gorm version:** 1.23.5 * **Driver version:** 1.3.3...

## Description Versions: - `gorm.io/gorm v1.23.3` - `gorm.io/driver/mysql v1.2.3` // indirect get this error message ``` # gorm.io/driver/mysql /Users/nemo/go/pkg/mod/gorm.io/driver/[email protected]/migrator.go:224:38: cannot use column (variable of type Column) as type gorm.ColumnType in...

## Describe the feature MariaDB support more feature than MySQL (old version at least). The one I would love to have is the support of RETURNING clause on the Create...

## Describe the feature support `auto_random` tag ## Motivation tidb use primary key with `AUTO_RANDOM` tag to avoid hot spot, but gorm doesn't seem to support it! ## Related Issues...

## Describe the feature On MySQL 8.0 server the waring message is raised: ``` 1287 'VALUES function' is deprecated and will be removed in a future release. Please use an...

hello: when the gorm debug sql,the time type display require a optimize. when open a mysql connection with param "loc=Local". And then execute sql,if set the time.Time utc,like this `...

Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.7 to 1.25.8. Commits 1b0aa80 Fix AutoMigrate for bool fields with default value e0c3be0 Fix tests in local 303de6e chore: optimize regEnLetterAndMidline regular (#6908) f7ebf04 fix(create): fix...

dependencies
go