oracle
oracle copied to clipboard
go get github.com/cengsin/oracle # github.com/cengsin/oracle ../../../../../pkg/mod/github.com/cengsin/[email protected]/oracle.go:53:59: unknown field 'WithReturning' in struct literal of type callbacks.Config
go get github.com/cengsin/oracle
# github.com/cengsin/oracle
../../../../../pkg/mod/github.com/cengsin/[email protected]/oracle.go:53:59: unknown field 'WithReturning' in struct literal of type callbacks.Config
这个我也遇到了,要降级gorm 到1.21的版本
这个我也遇到了,要降级gorm 到1.21的版本
我换了另一个库,哈哈
这个我也遇到了,要降级gorm 到1.21的版本
我换了另一个库,哈哈
用了哪个可以支持oracle
这边改下 // register callbacks callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{ UpdateClauses: []string{"UPDATE", "SET", "WHERE", "ORDER BY", "RETURNING"}, })
Use gorm.io/gorm v1.20.5 as workaround, this driver is too old and not maintained enough for latest gorm releases.
https://github.com/dzwvip/oracle 支持 gorm 1.23.4
Hello, I used your https://github.com/dzwvip/oracle and it fixed the issues of the older version. However, when I choose to overwrite the default for: db, err := gorm.Open(oracle.Open(connStr), &gorm.Config{ NamingStrategy: schema.NamingStrategy{ SingularTable: true, }, }) The code is still appending an "s" on the end of the table names.
Hello, I used your https://github.com/dzwvip/oracle and it fixed the issues of the older version. However, when I choose to overwrite the default for: db, err := gorm.Open(oracle.Open(connStr), &gorm.Config{ NamingStrategy: schema.NamingStrategy{ SingularTable: true, }, }) The code is still appending an "s" on the end of the table names.
already fixed