feat(gaussdb): 新增 GaussDB 数据库连接支持

Refs #497
This commit is contained in:
Syngnat
2026-06-13 19:34:52 +08:00
parent f3dfffb8d1
commit d2f68acae8
70 changed files with 717 additions and 73 deletions

View File

@@ -1,4 +1,4 @@
//go:build gonavi_full_drivers || gonavi_sqlserver_driver || gonavi_kingbase_driver || gonavi_highgo_driver || gonavi_vastbase_driver
//go:build gonavi_full_drivers
package db
@@ -32,4 +32,11 @@ func TestBatchWriteDriverCoverage(t *testing.T) {
t.Fatal("expected VastbaseDB to implement BatchWriteExecer")
}
})
t.Run("gaussdb", func(t *testing.T) {
var driver BatchWriteExecer = (*GaussDB)(nil)
if driver == nil {
t.Fatal("expected GaussDB to implement BatchWriteExecer")
}
})
}