dzwvip / oracle

gorm-oracle godror
Other
21 stars 10 forks source link

有报错 #1

Closed ms8922 closed 2 years ago

ms8922 commented 2 years ago

oracle.go:106:34: invalid operation: limit > 0 (mismatched types int and int) oracle.go:108:36: cannot use limit (type int) as type int in argument to strconv.Itoa

ms8922 commented 2 years ago

go 1.16时报错

dzwvip commented 2 years ago

我刚才测试 Oracle 12c 用 limit offset 都可以的

dzwvip commented 2 years ago

和 go 版本没关系,估计是你用的 gorm 1.24 的 ,limit 改成指针 导致的,已经修复