https://github.com/linxlib/gorm_oracle
gorm driver for oracle
https://github.com/linxlib/gorm_oracle
Last synced: 5 months ago
JSON representation
gorm driver for oracle
- Host: GitHub
- URL: https://github.com/linxlib/gorm_oracle
- Owner: linxlib
- License: mit
- Created: 2022-08-22T07:02:04.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T02:22:01.000Z (about 3 years ago)
- Last Synced: 2023-08-11T22:00:46.179Z (almost 3 years ago)
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GORM Oracle driver
## Description
Gorm原生go的驱动
早期版本为基于 [github.com/wdrabbit/gorm-oracle](https://github.com/wdrabbit/gorm-oracle), 升级 https://github.com/sijms/go-ora 到 v2 版本 (支持更新版本的oracle数据库)
使用方法参考原仓库
1. 不支持First之类的方法,因为oracle 11g需要使用rownum进行分页, 如果是oracle 12c以上版本可以尝试
2. oracle://user:password@ip:port/service
- Update(2023-1-13): 原仓库也已经升级了依赖,可以用回原仓库
- Update(2023-1-13): 升级依赖的gorm到最新版本, 并修复了gorm该版本中limit类型从int变为*int的问题