Commit Graph

2 Commits

Author SHA1 Message Date
maktub 8f5e437a61 fix: correct nullable field detection logic in column metadata (#2520)
fix: correct nullable field detection logic in column metadata

gbase8s metadata: N  == NOT NULL

Co-authored-by: zhangyunfei <zhangyunfei@gbase.cn>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2520
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: maktub <maktub@noreply.gitea.com>
Co-committed-by: maktub <maktub@noreply.gitea.com>
2025-07-21 18:24:41 +00:00
maktub 89d1238248 feat: Support GBase8s Database (#2517)
## Background

Currently, XORM does not yet support the [GBase 8s database by Nanda General Data Technology]. GBase 8s is a widely used domestic database in China, commonly adopted by enterprises and government systems as a backend storage solution.

## Summary of This Contribution
	•	Added support for the gbase8s driver
	•	Implemented a basic database dialect: GBase8sDialect

## Usage Instructions

```go
import	_ "gitee.com/GBase8s/go-gci""

engine, err := xorm.NewEngine("gbase8s", "gbase8s://username:pwd@ip:port/dbname?param=xxx")

Co-authored-by: zhangyunfei <zhangyunfei@gbase.cn>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2517
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: maktub <maktub@noreply.gitea.com>
Co-committed-by: maktub <maktub@noreply.gitea.com>
2025-07-18 02:59:03 +00:00